Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example3.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.Example3,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example3,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example3",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.0008793/0.0008793, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001002/0.001002, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.756/0.756, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003344, allocations: 13.19 kB / 0.5035 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4665/0.4668, allocations: 81.57 MB / 0.5831 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.03157/0.4985, allocations: 30.06 MB / 0.6125 GB, free: 13.91 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01417/0.5127, allocations: 9.757 MB / 0.622 GB, free: 6.047 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.5143, allocations: 43.56 kB / 0.6221 GB, free: 6.027 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.516, allocations: 489.2 kB / 0.6225 GB, free: 5.645 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003902/0.5199, allocations: 1.295 MB / 0.6238 GB, free: 4.629 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003533/0.5234, allocations: 1.071 MB / 0.6249 GB, free: 3.945 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008263/0.5317, allocations: 5.511 MB / 0.6302 GB, free: 284 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003669/0.5354, allocations: 1.596 MB / 0.6318 GB, free: 14.66 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004653/0.5401, allocations: 1.568 MB / 0.6333 GB, free: 13.09 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003173/0.5433, allocations: 1.299 MB / 0.6346 GB, free: 11.78 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005491/0.5439, allocations: 68 kB / 0.6347 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002942/0.5469, allocations: 0.8893 MB / 0.6355 GB, free: 10.82 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007887/0.5477, allocations: 386.3 kB / 0.6359 GB, free: 10.45 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.5487, allocations: 400.6 kB / 0.6363 GB, free: 10.05 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003304/0.552, allocations: 2.167 MB / 0.6384 GB, free: 7.875 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.552, allocations: 0 / 0.6384 GB, free: 7.875 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.552, allocations: 0 / 0.6384 GB, free: 7.875 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001085/0.5522, allocations: 0 / 0.6384 GB, free: 7.875 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.004372/0.5565, allocations: 2.104 MB / 0.6404 GB, free: 5.703 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.5566, allocations: 8.031 kB / 0.6405 GB, free: 5.695 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003387/0.5569, allocations: 151.8 kB / 0.6406 GB, free: 5.539 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.5582, allocations: 309.2 kB / 0.6409 GB, free: 5.234 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003406/0.5616, allocations: 1.583 MB / 0.6424 GB, free: 3.605 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.61e-05/0.5617, allocations: 85.98 kB / 0.6425 GB, free: 3.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.5619, allocations: 104 kB / 0.6426 GB, free: 3.418 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.5644, allocations: 1.33 MB / 0.6439 GB, free: 2.016 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.5645, allocations: 3.938 kB / 0.6439 GB, free: 2.012 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.5646, allocations: 44 kB / 0.644 GB, free: 1.969 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.5646, allocations: 27.94 kB / 0.644 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/0.5668, allocations: 1.054 MB / 0.645 GB, free: 0.8828 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.008676/0.5755, allocations: 6.981 MB / 0.6518 GB, free: 9.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.577, allocations: 0.6797 MB / 0.6525 GB, free: 8.719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007959/0.5778, allocations: 432 kB / 0.6529 GB, free: 8.297 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00297/0.5808, allocations: 1.815 MB / 0.6547 GB, free: 6.344 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008148/0.5816, allocations: 417 kB / 0.6551 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006043/0.5822, allocations: 107.3 kB / 0.6552 GB, free: 5.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=46): time 3.347e-06/0.5822, allocations: 4 kB / 0.6552 GB, free: 5.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=46): time 0.003956/0.5862, allocations: 1.525 MB / 0.6567 GB, free: 4.262 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.5863, allocations: 59.41 kB / 0.6567 GB, free: 4.191 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/0.5889, allocations: 1.855 MB / 0.6585 GB, free: 2.293 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.09e-05/0.589, allocations: 41.7 kB / 0.6586 GB, free: 2.246 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007605/0.5897, allocations: 0.8504 MB / 0.6594 GB, free: 1.387 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.5899, allocations: 169.7 kB / 0.6596 GB, free: 1.219 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.59, allocations: 19.94 kB / 0.6596 GB, free: 1.199 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5901, allocations: 337.9 kB / 0.6599 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006964/0.5908, allocations: 321.8 kB / 0.6602 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.5919, allocations: 0.78 MB / 0.661 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008652/0.5927, allocations: 458.3 kB / 0.6614 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.5928, allocations: 4 kB / 0.6614 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002865/0.5956, allocations: 1.351 MB / 0.6627 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003158/0.596, allocations: 427.2 kB / 0.6632 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.596, allocations: 12 kB / 0.6632 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008346/0.5968, allocations: 228.5 kB / 0.6634 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/0.5975, allocations: 171.7 kB / 0.6636 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008062/0.5983, allocations: 0.841 MB / 0.6644 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.5996, allocations: 128.4 kB / 0.6645 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.902e-05/0.5997, allocations: 43.98 kB / 0.6645 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.5998, allocations: 5.875 kB / 0.6645 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001862/0.6016, allocations: 1.04 MB / 0.6656 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.6017, allocations: 12 kB / 0.6656 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003794/0.602, allocations: 152.7 kB / 0.6657 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005495/0.6026, allocations: 167.9 kB / 0.6659 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/0.6053, allocations: 2.345 MB / 0.6682 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.6065, allocations: 116.5 kB / 0.6683 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.408e-05/0.6066, allocations: 40 kB / 0.6683 GB, free: 7.723 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0008836/0.6075, allocations: 0.5917 MB / 0.6689 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002939/0.6078, allocations: 173.8 kB / 0.6691 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/0.61, allocations: 1.066 MB / 0.6701 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.6101, allocations: 15.95 kB / 0.6701 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.6101, allocations: 3.984 kB / 0.6701 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001666/0.6118, allocations: 1.019 MB / 0.6711 GB, free: 4.77 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.004155/0.6159, allocations: 2.335 MB / 0.6734 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.6159, allocations: 4 kB / 0.6734 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004651/0.6164, allocations: 95.86 kB / 0.6735 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003435/0.6168, allocations: 144.8 kB / 0.6736 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.6168, allocations: 19.88 kB / 0.6736 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007159/0.6176, allocations: 0.802 MB / 0.6744 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.6176, allocations: 0 / 0.6744 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.6204, allocations: 1.491 MB / 0.6759 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007553/0.6212, allocations: 338.7 kB / 0.6762 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003905/0.6216, allocations: 12 kB / 0.6762 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.6228, allocations: 99.89 kB / 0.6763 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.6229, allocations: 40.38 kB / 0.6764 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.48e-05/0.623, allocations: 27.94 kB / 0.6764 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002508/0.6255, allocations: 1.282 MB / 0.6776 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6255, allocations: 0 / 0.6776 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002962/0.6285, allocations: 0.8423 MB / 0.6785 GB, free: 13.05 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0041/0.6326, allocations: 2.239 MB / 0.6806 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00303/0.6356, allocations: 1.536 MB / 0.6821 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6357, allocations: 0 / 0.6821 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000761/0.6364, allocations: 370.4 kB / 0.6825 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004118/0.6406, allocations: 0.8447 MB / 0.6833 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02163/0.6622, allocations: 11.36 MB / 0.6944 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/0.6635, allocations: 1.492 MB / 0.6959 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001724/0.6652, allocations: 429.6 kB / 0.6963 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008983/0.6661, allocations: 0.6516 MB / 0.6969 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of SimCode: time 2.104e-06/0.6661, allocations: 3.938 kB / 0.6969 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.084/0.7501, allocations: 48.65 MB / 0.7444 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.7504, allocations: 243 kB / 0.7447 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.765/3.516, allocations: 0 / 0.7447 GB, free: 9.066 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example3.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1) Environment - environmentSimulation: