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: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example2,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example2,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 91.84 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.008351/0.008351, allocations: 174 kB / 16.27 MB, free: 6.676 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.354/1.354, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7134/0.7134, allocations: 132.3 MB / 423.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003222, allocations: 13.19 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3724, allocations: 81.57 MB / 0.5837 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.02812/0.4006, allocations: 28.71 MB / 0.6118 GB, free: 14.7 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01484/0.4154, allocations: 9.851 MB / 0.6214 GB, free: 6.809 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.4169, allocations: 39.88 kB / 0.6214 GB, free: 6.793 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001745/0.4186, allocations: 0.599 MB / 0.622 GB, free: 6.336 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003458/0.4221, allocations: 1.354 MB / 0.6233 GB, free: 5.273 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003074/0.4252, allocations: 1.224 MB / 0.6245 GB, free: 4.418 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005693/0.4309, allocations: 5.015 MB / 0.6294 GB, free: 1.43 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.4324, allocations: 1.13 MB / 0.6305 GB, free: 276 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/0.4346, allocations: 1.253 MB / 0.6318 GB, free: 15.01 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.4358, allocations: 1.011 MB / 0.6327 GB, free: 14 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.4359, allocations: 59.92 kB / 0.6328 GB, free: 13.94 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.438, allocations: 1.057 MB / 0.6338 GB, free: 12.88 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000316/0.4383, allocations: 310.7 kB / 0.6341 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006942/0.439, allocations: 0.7243 MB / 0.6348 GB, free: 11.84 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.4415, allocations: 2.332 MB / 0.6371 GB, free: 9.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.4415, allocations: 0 / 0.6371 GB, free: 9.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4415, allocations: 4 kB / 0.6371 GB, free: 9.496 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.4416, allocations: 0 / 0.6371 GB, free: 9.496 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.002651/0.4442, allocations: 1.674 MB / 0.6388 GB, free: 7.766 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.4443, allocations: 12.03 kB / 0.6388 GB, free: 7.754 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/0.4444, allocations: 122.8 kB / 0.6389 GB, free: 7.625 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009868/0.4454, allocations: 254.9 kB / 0.6391 GB, free: 7.375 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/0.4475, allocations: 1.327 MB / 0.6404 GB, free: 5.992 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.232e-05/0.4476, allocations: 66 kB / 0.6405 GB, free: 5.93 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.4477, allocations: 84 kB / 0.6406 GB, free: 5.848 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.4494, allocations: 0.9842 MB / 0.6415 GB, free: 4.809 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.4494, allocations: 7.938 kB / 0.6415 GB, free: 4.801 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.219e-05/0.4495, allocations: 32 kB / 0.6416 GB, free: 4.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.4495, allocations: 16 kB / 0.6416 GB, free: 4.754 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.451, allocations: 0.7298 MB / 0.6423 GB, free: 4.023 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.005239/0.4562, allocations: 4.965 MB / 0.6471 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.4574, allocations: 0.5755 MB / 0.6477 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006277/0.458, allocations: 319 kB / 0.648 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001931/0.46, allocations: 1.576 MB / 0.6495 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000649/0.4606, allocations: 342.9 kB / 0.6499 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003131/0.461, allocations: 103.4 kB / 0.65 GB, free: 11.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=44): time 2.014e-06/0.461, allocations: 0 / 0.65 GB, free: 11.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.002962/0.464, allocations: 1.175 MB / 0.6511 GB, free: 10.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.464, allocations: 55.41 kB / 0.6512 GB, free: 10.35 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.4655, allocations: 1.267 MB / 0.6524 GB, free: 9.066 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/0.4656, allocations: 41.7 kB / 0.6524 GB, free: 9.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004965/0.4661, allocations: 0.6411 MB / 0.6531 GB, free: 8.371 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.4662, allocations: 157.8 kB / 0.6532 GB, free: 8.215 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.487e-05/0.4663, allocations: 65.69 kB / 0.6533 GB, free: 8.145 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.4664, allocations: 337.9 kB / 0.6536 GB, free: 7.809 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005395/0.467, allocations: 261.8 kB / 0.6539 GB, free: 7.555 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007802/0.4678, allocations: 0.5887 MB / 0.6544 GB, free: 6.816 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.469, allocations: 0.8223 MB / 0.6552 GB, free: 5.883 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.4691, allocations: 4 kB / 0.6552 GB, free: 5.879 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002058/0.4711, allocations: 1.102 MB / 0.6563 GB, free: 4.758 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002225/0.4713, allocations: 355 kB / 0.6567 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.4714, allocations: 8 kB / 0.6567 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006135/0.472, allocations: 188.6 kB / 0.6568 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005232/0.4725, allocations: 147.8 kB / 0.657 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007279/0.4733, allocations: 0.7591 MB / 0.6577 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007482/0.474, allocations: 76.52 kB / 0.6578 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.149e-05/0.4741, allocations: 39.98 kB / 0.6578 GB, free: 3.055 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.73e-06/0.4741, allocations: 0 / 0.6578 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001552/0.4757, allocations: 0.9365 MB / 0.6588 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.4757, allocations: 8 kB / 0.6588 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001936/0.4759, allocations: 104.8 kB / 0.6589 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004468/0.4764, allocations: 135.8 kB / 0.659 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.4784, allocations: 2.161 MB / 0.6611 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/0.479, allocations: 72.73 kB / 0.6612 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.407e-05/0.4791, allocations: 39.98 kB / 0.6612 GB, free: 15.43 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.0005752/0.4797, allocations: 480.7 kB / 0.6617 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.4798, allocations: 130.3 kB / 0.6618 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.4816, allocations: 0.8687 MB / 0.6626 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.4816, allocations: 4 kB / 0.6626 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.4816, allocations: 0 / 0.6626 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001329/0.483, allocations: 0.8725 MB / 0.6635 GB, free: 12.98 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.002879/0.4859, allocations: 1.861 MB / 0.6653 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4859, allocations: 8.062 kB / 0.6653 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/0.4862, allocations: 75.88 kB / 0.6654 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002703/0.4865, allocations: 124.8 kB / 0.6655 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/0.4866, allocations: 19.98 kB / 0.6655 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005669/0.4872, allocations: 0.7506 MB / 0.6663 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4872, allocations: 4 kB / 0.6663 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.4892, allocations: 1.182 MB / 0.6674 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003618/0.4896, allocations: 275.2 kB / 0.6677 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.4897, allocations: 8 kB / 0.6677 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006148/0.4903, allocations: 68 kB / 0.6678 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.508e-05/0.4904, allocations: 32.39 kB / 0.6678 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/0.4905, allocations: 27.92 kB / 0.6678 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001095/0.4916, allocations: 0.878 MB / 0.6687 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.064e-06/0.4916, allocations: 0 / 0.6687 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001652/0.4933, allocations: 0.651 MB / 0.6693 GB, free: 6.875 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.002896/0.4962, allocations: 1.931 MB / 0.6712 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002488/0.4987, allocations: 1.327 MB / 0.6725 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4987, allocations: 0 / 0.6725 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007165/0.4994, allocations: 327.4 kB / 0.6728 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/0.502, allocations: 0.5673 MB / 0.6734 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/0.5203, allocations: 10.46 MB / 0.6836 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009735/0.5213, allocations: 1.267 MB / 0.6848 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001253/0.5226, allocations: 314.5 kB / 0.6851 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006795/0.5233, allocations: 495.2 kB / 0.6856 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of SimCode: time 7.22e-07/0.5233, allocations: 4 kB / 0.6856 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7578/1.281, allocations: 34.52 MB / 0.7193 GB, free: 3.531 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/1.281, allocations: 252.3 kB / 0.7195 GB, free: 3.281 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.506/3.787, allocations: 3.938 kB / 0.7195 GB, free: 3.277 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example2.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)