Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Example2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example2,fileNamePrefix="IDEAS_dev_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.0009742/0.0009743, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005934/0.005934, allocations: 169.2 kB / 16.26 MB, free: 6.648 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.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8721/0.8721, allocations: 135.3 MB / 426.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002958/0.0002958, allocations: 13.06 kB / 0.5077 GB, free: 4.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1328, allocations: 82.3 MB / 0.5881 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.2542/0.387, allocations: 28.69 MB / 0.6161 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01137/0.3984, allocations: 9.854 MB / 0.6257 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.4, allocations: 41.88 kB / 0.6257 GB, free: 32.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.4015, allocations: 0.5996 MB / 0.6263 GB, free: 31.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002648/0.4041, allocations: 1.344 MB / 0.6276 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002421/0.4066, allocations: 1.222 MB / 0.6288 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003554/0.4101, allocations: 5.023 MB / 0.6337 GB, free: 28.97 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.4113, allocations: 1.114 MB / 0.6348 GB, free: 28.51 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.4128, allocations: 1.252 MB / 0.6361 GB, free: 28.01 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008634/0.4137, allocations: 1.019 MB / 0.6371 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.4138, allocations: 54.62 kB / 0.6371 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.4156, allocations: 1.053 MB / 0.6381 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.4159, allocations: 320.5 kB / 0.6384 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005496/0.4164, allocations: 0.7235 MB / 0.6391 GB, free: 26.67 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.4183, allocations: 2.334 MB / 0.6414 GB, free: 25.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4183, allocations: 0 / 0.6414 GB, free: 25.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4183, allocations: 4 kB / 0.6414 GB, free: 25.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.677e-05/0.4183, allocations: 0 / 0.6414 GB, free: 25.96 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002199/0.4205, allocations: 1.669 MB / 0.6431 GB, free: 24.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.4206, allocations: 14.94 kB / 0.6431 GB, free: 24.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/0.4207, allocations: 125.8 kB / 0.6432 GB, free: 24.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009077/0.4216, allocations: 259.1 kB / 0.6434 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/0.4235, allocations: 1.32 MB / 0.6447 GB, free: 23.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.832e-05/0.4235, allocations: 68.12 kB / 0.6448 GB, free: 23.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.4237, allocations: 84.66 kB / 0.6449 GB, free: 23.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.425, allocations: 0.9881 MB / 0.6458 GB, free: 23.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.4251, allocations: 3.938 kB / 0.6458 GB, free: 23.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.075e-05/0.4251, allocations: 32.09 kB / 0.6459 GB, free: 23.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.4252, allocations: 21.16 kB / 0.6459 GB, free: 23.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.4264, allocations: 0.7231 MB / 0.6466 GB, free: 23.12 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.004241/0.4306, allocations: 4.969 MB / 0.6515 GB, free: 19.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.4318, allocations: 0.5736 MB / 0.652 GB, free: 19.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000614/0.4324, allocations: 317.9 kB / 0.6523 GB, free: 19.01 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001831/0.4343, allocations: 1.566 MB / 0.6538 GB, free: 17.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006499/0.4349, allocations: 345.6 kB / 0.6542 GB, free: 17.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003104/0.4352, allocations: 97.55 kB / 0.6543 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 1.904e-06/0.4353, allocations: 0 / 0.6543 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.002931/0.4382, allocations: 1.174 MB / 0.6554 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.4382, allocations: 58 kB / 0.6555 GB, free: 17.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.4397, allocations: 1.269 MB / 0.6567 GB, free: 16.63 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.174e-05/0.4398, allocations: 38.61 kB / 0.6567 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004129/0.4402, allocations: 0.647 MB / 0.6574 GB, free: 16.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.4403, allocations: 155.8 kB / 0.6575 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-05/0.4404, allocations: 67.58 kB / 0.6576 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.213e-05/0.4405, allocations: 336.6 kB / 0.6579 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005528/0.441, allocations: 262.9 kB / 0.6582 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006573/0.4417, allocations: 0.5903 MB / 0.6587 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.4429, allocations: 0.8217 MB / 0.6595 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.4429, allocations: 2.031 kB / 0.6595 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002037/0.4449, allocations: 1.1 MB / 0.6606 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.4451, allocations: 355.6 kB / 0.661 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.4451, allocations: 8.438 kB / 0.661 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/0.4457, allocations: 189.9 kB / 0.6611 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005261/0.4462, allocations: 153.3 kB / 0.6613 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005912/0.4468, allocations: 0.7603 MB / 0.662 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007991/0.4476, allocations: 78.23 kB / 0.6621 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.838e-05/0.4477, allocations: 38.22 kB / 0.6621 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.003e-06/0.4477, allocations: 3.906 kB / 0.6621 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001501/0.4492, allocations: 0.9339 MB / 0.6631 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.4493, allocations: 11.91 kB / 0.6631 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/0.4494, allocations: 100.8 kB / 0.6632 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.4499, allocations: 138.8 kB / 0.6633 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/0.4516, allocations: 2.153 MB / 0.6654 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006741/0.4523, allocations: 76.67 kB / 0.6655 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/0.4524, allocations: 34.67 kB / 0.6655 GB, free: 10.65 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.0005831/0.4529, allocations: 478.6 kB / 0.666 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.4531, allocations: 135.1 kB / 0.6661 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/0.4548, allocations: 0.874 MB / 0.6669 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.669e-06/0.4548, allocations: 5.531 kB / 0.667 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.4548, allocations: 1.188 kB / 0.667 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001235/0.456, allocations: 0.8709 MB / 0.6678 GB, free: 9.363 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.002621/0.4587, allocations: 1.858 MB / 0.6696 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4587, allocations: 5.406 kB / 0.6696 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003688/0.4591, allocations: 81.61 kB / 0.6697 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002559/0.4593, allocations: 117.2 kB / 0.6698 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.4594, allocations: 16.92 kB / 0.6698 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004927/0.4599, allocations: 0.7596 MB / 0.6706 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4599, allocations: 6 kB / 0.6706 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.4618, allocations: 1.176 MB / 0.6717 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/0.4621, allocations: 273 kB / 0.672 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.4623, allocations: 12.27 kB / 0.672 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005914/0.4629, allocations: 68.73 kB / 0.6721 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.828e-05/0.463, allocations: 36.52 kB / 0.6721 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.724e-05/0.463, allocations: 21.62 kB / 0.6721 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001058/0.4641, allocations: 0.879 MB / 0.673 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4641, allocations: 3.938 kB / 0.673 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001678/0.4658, allocations: 0.6471 MB / 0.6736 GB, free: 6.527 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.002666/0.4684, allocations: 1.934 MB / 0.6755 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002369/0.4708, allocations: 1.331 MB / 0.6768 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4708, allocations: 0 / 0.6768 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006788/0.4715, allocations: 333.1 kB / 0.6771 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.474, allocations: 0.5665 MB / 0.6777 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/0.4897, allocations: 10.46 MB / 0.6879 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008161/0.4905, allocations: 1.273 MB / 0.6891 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001226/0.4918, allocations: 304.7 kB / 0.6894 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005681/0.4923, allocations: 0.4989 MB / 0.6899 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of SimCode: time 6.91e-07/0.4923, allocations: 0 / 0.6899 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.657/1.149, allocations: 34.53 MB / 0.7236 GB, free: 15.71 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/1.15, allocations: 262.4 kB / 0.7239 GB, free: 15.39 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.522/3.672, allocations: 0 / 0.7239 GB, free: 15.39 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example2.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)