Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example2.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example2") translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 112.5 kB / 15.73 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 192.7 kB / 16.66 MB, free: 6.586 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7736/0.7736, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 66.33 kB / 0.5813 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1381, allocations: 80.2 MB / 0.6596 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.02735/0.1655, allocations: 29.62 MB / 0.6886 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01372/0.1792, allocations: 9.905 MB / 0.6982 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.1806, allocations: 47.75 kB / 0.6983 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.1825, allocations: 0.6835 MB / 0.699 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003478/0.186, allocations: 1.46 MB / 0.7004 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.1891, allocations: 1.372 MB / 0.7017 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004217/0.1933, allocations: 3.822 MB / 0.7055 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001822/0.1952, allocations: 1.368 MB / 0.7068 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002876/0.1981, allocations: 1.493 MB / 0.7082 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.1997, allocations: 1.038 MB / 0.7093 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002311/0.1999, allocations: 120 kB / 0.7094 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.202, allocations: 1.127 MB / 0.7105 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003604/0.2024, allocations: 406.6 kB / 0.7109 GB, free: 8.895 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007537/0.2031, allocations: 0.7812 MB / 0.7116 GB, free: 8.109 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002643/0.2058, allocations: 2.456 MB / 0.714 GB, free: 5.645 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2058, allocations: 0 / 0.714 GB, free: 5.645 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2058, allocations: 0 / 0.714 GB, free: 5.645 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.738e-05/0.2058, allocations: 4 kB / 0.714 GB, free: 5.641 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00269/0.2085, allocations: 2.003 MB / 0.716 GB, free: 3.578 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2086, allocations: 8.031 kB / 0.716 GB, free: 3.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009828/0.2096, allocations: 255.7 kB / 0.7162 GB, free: 3.32 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/0.2117, allocations: 1.367 MB / 0.7176 GB, free: 1.898 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.786e-05/0.2117, allocations: 62 kB / 0.7176 GB, free: 1.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.2118, allocations: 84 kB / 0.7177 GB, free: 1.758 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.2134, allocations: 0.9811 MB / 0.7187 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.2134, allocations: 0 / 0.7187 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-05/0.2135, allocations: 32 kB / 0.7187 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.2135, allocations: 20 kB / 0.7187 GB, free: 0.668 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.2149, allocations: 0.7065 MB / 0.7194 GB, free: 15.96 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004824/0.2197, allocations: 4.856 MB / 0.7242 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.2208, allocations: 0.545 MB / 0.7247 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006274/0.2215, allocations: 319.2 kB / 0.725 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001882/0.2234, allocations: 1.584 MB / 0.7265 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006465/0.224, allocations: 327 kB / 0.7268 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001883/0.2242, allocations: 51.62 kB / 0.7269 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=43): time 1.854e-06/0.2242, allocations: 0 / 0.7269 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.002914/0.2272, allocations: 1.171 MB / 0.728 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.2272, allocations: 55.41 kB / 0.7281 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.2287, allocations: 1.29 MB / 0.7294 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.375e-05/0.2287, allocations: 45.7 kB / 0.7294 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004898/0.2292, allocations: 0.6539 MB / 0.73 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.2293, allocations: 158.7 kB / 0.7302 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.2296, allocations: 158.2 kB / 0.7303 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2297, allocations: 333.9 kB / 0.7307 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005477/0.2302, allocations: 279.6 kB / 0.7309 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007405/0.231, allocations: 0.5826 MB / 0.7315 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.2322, allocations: 0.8059 MB / 0.7323 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.2322, allocations: 4 kB / 0.7323 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002085/0.2343, allocations: 1.099 MB / 0.7334 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.2344, allocations: 41.58 kB / 0.7334 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.2344, allocations: 11.98 kB / 0.7334 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006211/0.235, allocations: 185.2 kB / 0.7336 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/0.2355, allocations: 135.8 kB / 0.7337 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007061/0.2363, allocations: 0.7669 MB / 0.7345 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006137/0.2369, allocations: 52.56 kB / 0.7345 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.6e-05/0.237, allocations: 35.98 kB / 0.7345 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008268/0.2378, allocations: 0.5522 MB / 0.7351 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006265/0.2384, allocations: 0.5553 MB / 0.7356 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001012/0.2395, allocations: 0.7434 MB / 0.7364 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.935e-06/0.2395, allocations: 0 / 0.7364 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001638/0.2411, allocations: 1.068 MB / 0.7374 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.2411, allocations: 38.22 kB / 0.7374 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2412, allocations: 12 kB / 0.7374 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001845/0.2414, allocations: 104.7 kB / 0.7375 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004424/0.2418, allocations: 139.7 kB / 0.7377 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.2439, allocations: 2.364 MB / 0.74 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005671/0.2445, allocations: 48.58 kB / 0.74 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.794e-05/0.2446, allocations: 32 kB / 0.7401 GB, free: 9.457 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002068/0.2448, allocations: 233.3 kB / 0.7403 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.2449, allocations: 131.2 kB / 0.7404 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.2467, allocations: 0.8687 MB / 0.7413 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.2467, allocations: 7.938 kB / 0.7413 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.2467, allocations: 0 / 0.7413 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001277/0.248, allocations: 0.8804 MB / 0.7421 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/0.2505, allocations: 1.799 MB / 0.7439 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2505, allocations: 0 / 0.7439 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/0.2509, allocations: 79.94 kB / 0.744 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002683/0.2512, allocations: 120.8 kB / 0.7441 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.033e-05/0.2512, allocations: 19.98 kB / 0.7441 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005579/0.2518, allocations: 0.7503 MB / 0.7448 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.2518, allocations: 7.875 kB / 0.7448 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.2538, allocations: 1.179 MB / 0.746 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003093/0.2541, allocations: 268.1 kB / 0.7462 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.2542, allocations: 8 kB / 0.7462 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005084/0.2547, allocations: 35.97 kB / 0.7463 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.408e-05/0.2548, allocations: 36.38 kB / 0.7463 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/0.2549, allocations: 27.92 kB / 0.7463 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001051/0.256, allocations: 0.8858 MB / 0.7472 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.256, allocations: 0 / 0.7472 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001976/0.2579, allocations: 0.6511 MB / 0.7478 GB, free: 1.254 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009863/0.2589, allocations: 381.7 kB / 0.7482 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002785/0.2617, allocations: 1.327 MB / 0.7495 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.2618, allocations: 0 / 0.7495 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000713/0.2625, allocations: 335.4 kB / 0.7498 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00223/0.2647, allocations: 0.5925 MB / 0.7504 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.2678, allocations: 2.243 MB / 0.7526 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007012/0.2685, allocations: 1.271 MB / 0.7538 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008609/0.2694, allocations: 321.8 kB / 0.7541 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.2696, allocations: 99.39 kB / 0.7542 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of SimCode: time 1.593e-06/0.2696, allocations: 0 / 0.7542 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of Templates: time 0.0374/0.307, allocations: 25.77 MB / 0.7794 GB, free: 1.191 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example2.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)