Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example3,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example3,fileNamePrefix="IDEAS_dev_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.001099/0.001099, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001574/0.001574, allocations: 168.7 kB / 15.95 MB, free: 204 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.377/1.377, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9281/0.9281, allocations: 135.3 MB / 426.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004721, allocations: 12 kB / 0.5071 GB, free: 5.047 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1839, allocations: 82.31 MB / 0.5875 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.376/0.5599, allocations: 30.03 MB / 0.6168 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01446/0.5744, allocations: 9.768 MB / 0.6263 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002709/0.5772, allocations: 42.88 kB / 0.6264 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001881/0.5791, allocations: 0.489 MB / 0.6269 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003872/0.583, allocations: 1.283 MB / 0.6281 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003208/0.5862, allocations: 1.074 MB / 0.6292 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005494/0.5917, allocations: 5.505 MB / 0.6345 GB, free: 28.15 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002126/0.5939, allocations: 1.605 MB / 0.6361 GB, free: 27.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003384/0.5973, allocations: 1.57 MB / 0.6376 GB, free: 26.94 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002042/0.5993, allocations: 1.291 MB / 0.6389 GB, free: 26.4 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.5995, allocations: 67.47 kB / 0.639 GB, free: 26.4 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.6017, allocations: 0.8848 MB / 0.6398 GB, free: 26.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003846/0.6021, allocations: 386.4 kB / 0.6402 GB, free: 26 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005691/0.6027, allocations: 399.7 kB / 0.6406 GB, free: 25.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002297/0.605, allocations: 2.169 MB / 0.6427 GB, free: 25.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.605, allocations: 0 / 0.6427 GB, free: 25.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.455e-06/0.6051, allocations: 0 / 0.6427 GB, free: 25.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.82e-05/0.6051, allocations: 0 / 0.6427 GB, free: 25.27 MB / 0.4981 GB 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.003122/0.6082, allocations: 2.102 MB / 0.6447 GB, free: 23.92 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.6083, allocations: 14.5 kB / 0.6448 GB, free: 23.92 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001713/0.6084, allocations: 150.6 kB / 0.6449 GB, free: 23.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000956/0.6094, allocations: 305.9 kB / 0.6452 GB, free: 23.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002541/0.612, allocations: 1.593 MB / 0.6467 GB, free: 22.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.903e-05/0.612, allocations: 80.34 kB / 0.6468 GB, free: 22.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.6122, allocations: 103.7 kB / 0.6469 GB, free: 22.83 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.6144, allocations: 1.325 MB / 0.6482 GB, free: 22.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.6145, allocations: 4.875 kB / 0.6482 GB, free: 22.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.6146, allocations: 44.36 kB / 0.6483 GB, free: 22.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/0.6146, allocations: 27.19 kB / 0.6483 GB, free: 22.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002363/0.617, allocations: 1.051 MB / 0.6493 GB, free: 21.83 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 preOpt removeSimpleEquations (simulation): time 0.009376/0.6264, allocations: 6.991 MB / 0.6561 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.628, allocations: 0.6851 MB / 0.6568 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009014/0.6289, allocations: 428.3 kB / 0.6572 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003716/0.6326, allocations: 1.821 MB / 0.659 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009133/0.6336, allocations: 419.3 kB / 0.6594 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008329/0.6344, allocations: 110.3 kB / 0.6595 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 2.625e-06/0.6344, allocations: 0 / 0.6595 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46): time 0.004404/0.6388, allocations: 1.534 MB / 0.661 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.6389, allocations: 57.19 kB / 0.6611 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00295/0.6418, allocations: 1.852 MB / 0.6629 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.657e-05/0.6419, allocations: 40.3 kB / 0.6629 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007491/0.6427, allocations: 0.8537 MB / 0.6637 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.6428, allocations: 169.8 kB / 0.6639 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.6429, allocations: 16.38 kB / 0.6639 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.538e-05/0.643, allocations: 336.1 kB / 0.6642 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007274/0.6437, allocations: 321.8 kB / 0.6645 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000995/0.6447, allocations: 0.7736 MB / 0.6653 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008482/0.6456, allocations: 462.2 kB / 0.6657 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.6456, allocations: 3.125 kB / 0.6657 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003049/0.6487, allocations: 1.347 MB / 0.6671 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002187/0.6489, allocations: 427 kB / 0.6675 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.6489, allocations: 10.53 kB / 0.6675 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008128/0.6497, allocations: 219.7 kB / 0.6677 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006643/0.6504, allocations: 178.3 kB / 0.6679 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007496/0.6512, allocations: 0.8366 MB / 0.6687 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.6528, allocations: 129.9 kB / 0.6688 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.623e-05/0.6529, allocations: 44.3 kB / 0.6688 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.6529, allocations: 2.75 kB / 0.6688 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001929/0.6549, allocations: 1.031 MB / 0.6698 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.6549, allocations: 10.38 kB / 0.6699 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004107/0.6553, allocations: 167.1 kB / 0.67 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005745/0.6559, allocations: 162.5 kB / 0.6702 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.6585, allocations: 2.365 MB / 0.6725 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.6601, allocations: 118 kB / 0.6726 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.41e-05/0.6601, allocations: 43.55 kB / 0.6726 GB, free: 7.273 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.001262/0.6614, allocations: 0.593 MB / 0.6732 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/0.6617, allocations: 173.9 kB / 0.6734 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.6639, allocations: 1.067 MB / 0.6744 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.664, allocations: 5.891 kB / 0.6744 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.664, allocations: 1.5 kB / 0.6744 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00163/0.6656, allocations: 1.03 MB / 0.6754 GB, free: 5.832 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.004244/0.6699, allocations: 2.323 MB / 0.6777 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.6699, allocations: 4.062 kB / 0.6777 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004719/0.6704, allocations: 90.2 kB / 0.6778 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003307/0.6707, allocations: 141 kB / 0.6779 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.682e-05/0.6708, allocations: 16.84 kB / 0.6779 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006032/0.6714, allocations: 0.8144 MB / 0.6787 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6714, allocations: 5.062 kB / 0.6787 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/0.674, allocations: 1.485 MB / 0.6802 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006691/0.6746, allocations: 338.2 kB / 0.6805 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.6748, allocations: 13.02 kB / 0.6805 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000883/0.6757, allocations: 104.7 kB / 0.6806 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.6758, allocations: 38.45 kB / 0.6807 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-05/0.6759, allocations: 25.08 kB / 0.6807 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00182/0.6777, allocations: 1.277 MB / 0.6819 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6777, allocations: 0 / 0.6819 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002639/0.6804, allocations: 0.851 MB / 0.6828 GB, free: 2.516 MB / 0.4981 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.003549/0.6839, allocations: 2.23 MB / 0.6849 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003037/0.687, allocations: 1.532 MB / 0.6864 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.687, allocations: 3.938 kB / 0.6864 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007497/0.6878, allocations: 372.9 kB / 0.6868 GB, free: 364 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003727/0.6915, allocations: 0.8434 MB / 0.6876 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/0.7134, allocations: 11.37 MB / 0.6987 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/0.7146, allocations: 1.496 MB / 0.7002 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001816/0.7164, allocations: 406.2 kB / 0.7006 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008577/0.7173, allocations: 0.6671 MB / 0.7012 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of SimCode: time 8.61e-07/0.7173, allocations: 4 kB / 0.7012 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08262/0.7999, allocations: 48.65 MB / 0.7487 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.8001, allocations: 243.1 kB / 0.749 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.86/3.66, allocations: 3.938 kB / 0.749 GB, free: 5.262 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example3.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1) Environment - environmentSimulation: