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.001129/0.001129, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009182/0.009182, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.314/1.314, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7394/0.7394, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002937, allocations: 8 kB / 0.504 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3745, allocations: 81.58 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.03099/0.4055, allocations: 28.7 MB / 0.6117 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01376/0.4193, allocations: 9.863 MB / 0.6213 GB, free: 6.938 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.4209, allocations: 40.56 kB / 0.6214 GB, free: 6.922 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001819/0.4227, allocations: 0.5965 MB / 0.622 GB, free: 6.469 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003653/0.4264, allocations: 1.344 MB / 0.6233 GB, free: 5.418 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003098/0.4295, allocations: 1.231 MB / 0.6245 GB, free: 4.555 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006049/0.4355, allocations: 5.018 MB / 0.6294 GB, free: 1.543 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/0.4379, allocations: 1.118 MB / 0.6305 GB, free: 404 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003104/0.441, allocations: 1.264 MB / 0.6317 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001872/0.4429, allocations: 1.019 MB / 0.6327 GB, free: 14.1 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.4431, allocations: 48 kB / 0.6327 GB, free: 14.05 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002776/0.4459, allocations: 1.053 MB / 0.6338 GB, free: 13 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003905/0.4463, allocations: 318.7 kB / 0.6341 GB, free: 12.69 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.4473, allocations: 0.7204 MB / 0.6348 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002939/0.4503, allocations: 2.336 MB / 0.637 GB, free: 9.613 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4503, allocations: 0 / 0.637 GB, free: 9.613 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.706e-06/0.4503, allocations: 0 / 0.637 GB, free: 9.613 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.327e-05/0.4503, allocations: 4 kB / 0.6371 GB, free: 9.609 MB / 478.1 MB 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.002767/0.4531, allocations: 1.67 MB / 0.6387 GB, free: 7.883 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.4531, allocations: 12.03 kB / 0.6387 GB, free: 7.871 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.4542, allocations: 254.8 kB / 0.6389 GB, free: 7.621 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002208/0.4564, allocations: 1.327 MB / 0.6402 GB, free: 6.238 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.709e-05/0.4565, allocations: 62 kB / 0.6403 GB, free: 6.18 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.4566, allocations: 88 kB / 0.6404 GB, free: 6.094 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.4584, allocations: 0.9841 MB / 0.6413 GB, free: 5.055 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.4584, allocations: 0 / 0.6413 GB, free: 5.055 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.132e-05/0.4585, allocations: 32 kB / 0.6414 GB, free: 5.023 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.4585, allocations: 20 kB / 0.6414 GB, free: 5.004 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.46, allocations: 0.7337 MB / 0.6421 GB, free: 4.27 MB / 478.1 MB 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.005762/0.4658, allocations: 4.961 MB / 0.6469 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.467, allocations: 0.5753 MB / 0.6475 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006245/0.4676, allocations: 322.5 kB / 0.6478 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002268/0.4699, allocations: 1.588 MB / 0.6494 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006543/0.4705, allocations: 339 kB / 0.6497 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003454/0.4709, allocations: 95.47 kB / 0.6498 GB, free: 11.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=44): time 2.104e-06/0.4709, allocations: 0 / 0.6498 GB, free: 11.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.00298/0.4739, allocations: 1.167 MB / 0.6509 GB, free: 10.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.474, allocations: 59.39 kB / 0.651 GB, free: 10.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.4755, allocations: 1.267 MB / 0.6522 GB, free: 9.316 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.58e-05/0.4756, allocations: 37.7 kB / 0.6523 GB, free: 9.273 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005457/0.4761, allocations: 0.6528 MB / 0.6529 GB, free: 8.613 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.4763, allocations: 157.8 kB / 0.653 GB, free: 8.457 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.086e-05/0.4764, allocations: 65.69 kB / 0.6531 GB, free: 8.387 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.4765, allocations: 337.9 kB / 0.6534 GB, free: 8.051 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005621/0.4771, allocations: 257.8 kB / 0.6537 GB, free: 7.801 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008041/0.4779, allocations: 0.5926 MB / 0.6543 GB, free: 7.059 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.4792, allocations: 0.8223 MB / 0.6551 GB, free: 6.125 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.4792, allocations: 0 / 0.6551 GB, free: 6.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002295/0.4815, allocations: 1.091 MB / 0.6561 GB, free: 5.016 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002066/0.4817, allocations: 355 kB / 0.6565 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.4817, allocations: 12 kB / 0.6565 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006218/0.4824, allocations: 192.6 kB / 0.6567 GB, free: 4.348 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005237/0.4829, allocations: 143.7 kB / 0.6568 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007185/0.4836, allocations: 0.7591 MB / 0.6575 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008911/0.4845, allocations: 80.52 kB / 0.6576 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.271e-05/0.4846, allocations: 39.98 kB / 0.6576 GB, free: 3.305 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/0.4846, allocations: 8 kB / 0.6577 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001561/0.4862, allocations: 0.9247 MB / 0.6586 GB, free: 2.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4862, allocations: 8 kB / 0.6586 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/0.4864, allocations: 104.8 kB / 0.6587 GB, free: 2.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004414/0.4869, allocations: 135.8 kB / 0.6588 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.4888, allocations: 2.167 MB / 0.6609 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007714/0.4896, allocations: 76.59 kB / 0.661 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.406e-05/0.4897, allocations: 32 kB / 0.661 GB, free: 15.68 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (72): * Single equations (assignments): 69 * 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.0006905/0.4904, allocations: 480.8 kB / 0.6615 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.4906, allocations: 134.3 kB / 0.6616 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/0.4923, allocations: 0.8572 MB / 0.6624 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.4923, allocations: 4 kB / 0.6624 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4924, allocations: 3.938 kB / 0.6624 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001332/0.4937, allocations: 0.888 MB / 0.6633 GB, free: 13.23 MB / 0.4981 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 postOpt removeSimpleEquations (simulation): time 0.002814/0.4965, allocations: 1.858 MB / 0.6651 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4965, allocations: 4.031 kB / 0.6651 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/0.4969, allocations: 83.88 kB / 0.6652 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002827/0.4972, allocations: 124.8 kB / 0.6653 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.4973, allocations: 11.98 kB / 0.6653 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005846/0.4979, allocations: 0.7573 MB / 0.6661 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4979, allocations: 0 / 0.6661 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/0.5, allocations: 1.182 MB / 0.6672 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004188/0.5004, allocations: 275.2 kB / 0.6675 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.5005, allocations: 15.98 kB / 0.6675 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006111/0.5012, allocations: 68 kB / 0.6676 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.5013, allocations: 36.39 kB / 0.6676 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/0.5013, allocations: 19.98 kB / 0.6676 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001139/0.5025, allocations: 0.8741 MB / 0.6685 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5025, allocations: 0 / 0.6685 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001795/0.5043, allocations: 0.6433 MB / 0.6691 GB, free: 7.129 MB / 0.4981 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 (39): * Single equations (assignments): 33 * 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.0008136/0.5051, allocations: 360.5 kB / 0.6695 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002682/0.5078, allocations: 1.327 MB / 0.6708 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.5078, allocations: 0 / 0.6708 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007464/0.5086, allocations: 327.5 kB / 0.6711 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002841/0.5114, allocations: 0.566 MB / 0.6716 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/0.5153, allocations: 2.728 MB / 0.6743 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007388/0.516, allocations: 1.271 MB / 0.6755 GB, free: 488 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001129/0.5172, allocations: 306.5 kB / 0.6758 GB, free: 176 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.5174, allocations: 99.41 kB / 0.6759 GB, free: 76 kB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.5174, allocations: 0 / 0.6759 GB, free: 76 kB / 0.4981 GB Notification: Performance of Templates: time 0.03889/0.5563, allocations: 24.35 MB / 0.6997 GB, free: 8.066 MB / 0.5294 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)