Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo", uses=false) Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 102.5 kB / 16.27 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002085/0.002085, allocations: 191.8 kB / 17.2 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008524/0.008524, allocations: 1.323 MB / 292.4 MB, free: 13.61 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 63.91 kB / 355.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2149, allocations: 49.74 MB / 405.7 MB, free: 34.85 MB / 302.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.002811/0.2178, allocations: 1.958 MB / 407.6 MB, free: 32.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007408/0.2185, allocations: 0.5611 MB / 408.2 MB, free: 32.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.042e-05/0.2186, allocations: 4 kB / 408.2 MB, free: 32.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.2188, allocations: 19.73 kB / 408.2 MB, free: 32.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.153e-05/0.2189, allocations: 39.64 kB / 408.3 MB, free: 32.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.2191, allocations: 95.88 kB / 408.4 MB, free: 32.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.2192, allocations: 183.3 kB / 408.5 MB, free: 31.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.2194, allocations: 61.52 kB / 408.6 MB, free: 31.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.753e-05/0.2195, allocations: 55.73 kB / 408.7 MB, free: 31.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.495e-05/0.2196, allocations: 67.62 kB / 408.7 MB, free: 31.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.2196, allocations: 12 kB / 408.7 MB, free: 31.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.274e-05/0.2196, allocations: 12 kB / 408.7 MB, free: 31.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.2196, allocations: 39.84 kB / 408.8 MB, free: 31.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.902e-05/0.2197, allocations: 71.55 kB / 408.9 MB, free: 31.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.2199, allocations: 147.4 kB / 409 MB, free: 31.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2199, allocations: 0 / 409 MB, free: 31.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2199, allocations: 3.938 kB / 409 MB, free: 31.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.2199, allocations: 0 / 409 MB, free: 31.52 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005012/0.2204, allocations: 470.6 kB / 409.5 MB, free: 31.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.2204, allocations: 19.89 kB / 409.5 MB, free: 31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.2205, allocations: 16.75 kB / 409.5 MB, free: 30.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.2207, allocations: 216.5 kB / 409.7 MB, free: 30.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.2207, allocations: 12.38 kB / 409.7 MB, free: 30.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.2207, allocations: 16.28 kB / 409.7 MB, free: 30.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.2209, allocations: 127.7 kB / 409.9 MB, free: 30.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.221, allocations: 0 / 409.9 MB, free: 30.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.221, allocations: 8 kB / 409.9 MB, free: 30.56 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.221, allocations: 0 / 409.9 MB, free: 30.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.2211, allocations: 67.91 kB / 409.9 MB, free: 30.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006272/0.2217, allocations: 0.5356 MB / 410.5 MB, free: 29.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.2219, allocations: 90.48 kB / 410.6 MB, free: 29.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.255e-05/0.222, allocations: 40.84 kB / 410.6 MB, free: 29.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.222, allocations: 0 / 410.6 MB, free: 29.76 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.222, allocations: 38.5 kB / 410.6 MB, free: 29.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 8.82e-07/0.222, allocations: 0 / 410.6 MB, free: 29.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002882/0.2223, allocations: 129.6 kB / 410.8 MB, free: 29.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/0.2224, allocations: 51.41 kB / 410.8 MB, free: 29.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.2225, allocations: 182.5 kB / 411 MB, free: 29.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.2225, allocations: 25.7 kB / 411 MB, free: 29.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.2226, allocations: 128.2 kB / 411.1 MB, free: 29.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.2226, allocations: 31.55 kB / 411.2 MB, free: 29.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.2226, allocations: 41.7 kB / 411.2 MB, free: 29.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.391e-05/0.2227, allocations: 326.8 kB / 411.5 MB, free: 28.76 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.519e-05/0.2228, allocations: 35.97 kB / 411.6 MB, free: 28.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.552e-05/0.2229, allocations: 62.41 kB / 411.6 MB, free: 28.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.223, allocations: 95.91 kB / 411.7 MB, free: 28.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.223, allocations: 0 / 411.7 MB, free: 28.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001988/0.2232, allocations: 148.2 kB / 411.9 MB, free: 28.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2233, allocations: 8 kB / 411.9 MB, free: 28.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2233, allocations: 7.875 kB / 411.9 MB, free: 28.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2233, allocations: 0 / 411.9 MB, free: 28.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.2235, allocations: 39.97 kB / 411.9 MB, free: 28.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2235, allocations: 8 kB / 411.9 MB, free: 28.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.102e-05/0.2235, allocations: 15.84 kB / 411.9 MB, free: 28.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.2236, allocations: 4 kB / 411.9 MB, free: 28.32 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.952e-05/0.2236, allocations: 129.8 kB / 412.1 MB, free: 28.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.2237, allocations: 15.75 kB / 412.1 MB, free: 28.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.2237, allocations: 21.39 kB / 412.1 MB, free: 28.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2237, allocations: 4 kB / 412.1 MB, free: 28.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2237, allocations: 0 / 412.1 MB, free: 28.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2237, allocations: 0 / 412.1 MB, free: 28.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.2241, allocations: 427.2 kB / 412.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2241, allocations: 0 / 412.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.2244, allocations: 35.97 kB / 412.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2244, allocations: 0 / 412.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.2244, allocations: 0 / 412.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006635/0.2251, allocations: 1.404 MB / 414 MB, free: 26.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2251, allocations: 0 / 414 MB, free: 26.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.2253, allocations: 252.2 kB / 414.2 MB, free: 25.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.2254, allocations: 92.86 kB / 414.3 MB, free: 25.72 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.2254, allocations: 11.92 kB / 414.3 MB, free: 25.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-05/0.2255, allocations: 8.125 kB / 414.3 MB, free: 25.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.2255, allocations: 4 kB / 414.3 MB, free: 25.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.2256, allocations: 7.984 kB / 414.3 MB, free: 25.69 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.847e-05/0.2256, allocations: 132.3 kB / 414.5 MB, free: 25.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2256, allocations: 0 / 414.5 MB, free: 25.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.2259, allocations: 24 kB / 414.5 MB, free: 25.54 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (tank.l,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.847e-05/0.226, allocations: 111.1 kB / 414.6 MB, free: 25.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.2262, allocations: 91.89 kB / 414.7 MB, free: 25.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2262, allocations: 0 / 414.7 MB, free: 25.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.2264, allocations: 55.91 kB / 414.7 MB, free: 25.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.2269, allocations: 43.72 kB / 414.8 MB, free: 25.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006101/0.2275, allocations: 431.2 kB / 415.2 MB, free: 24.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.2277, allocations: 0.7202 MB / 415.9 MB, free: 24.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.428e-05/0.2277, allocations: 15.44 kB / 415.9 MB, free: 24.02 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2277, allocations: 0 / 415.9 MB, free: 24.02 MB / 302.1 MB Notification: Performance of Templates: time 0.003371/0.2311, allocations: 2.076 MB / 418 MB, free: 21.96 MB / 302.1 MB make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.makefile (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe 2>&1)