Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.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.Example1v1,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example1v1,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example1v1",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.000845/0.0008451, allocations: 86.41 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.0008825/0.0008826, 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.348/1.348, allocations: 223.2 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-master/package.mo): time 0.9017/0.9017, allocations: 135.3 MB / 426.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.000367, allocations: 8 kB / 0.5071 GB, free: 5.066 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1603, allocations: 82.31 MB / 0.5875 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.3651/0.5254, allocations: 66.55 MB / 0.6524 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02146/0.5469, allocations: 15.9 MB / 0.668 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003427/0.5504, allocations: 80.69 kB / 0.6681 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00294/0.5533, allocations: 0.6641 MB / 0.6687 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006516/0.5599, allocations: 1.94 MB / 0.6706 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005511/0.5654, allocations: 1.558 MB / 0.6721 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01275/0.5782, allocations: 9.058 MB / 0.681 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01081/0.589, allocations: 5.32 MB / 0.6862 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01046/0.5995, allocations: 2.697 MB / 0.6888 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006851/0.6064, allocations: 2.32 MB / 0.6911 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001275/0.6077, allocations: 130.5 kB / 0.6912 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00512/0.6129, allocations: 1.007 MB / 0.6922 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002138/0.615, allocations: 0.6068 MB / 0.6928 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002871/0.6179, allocations: 0.6503 MB / 0.6934 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006733/0.6247, allocations: 3.5 MB / 0.6968 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.6247, allocations: 1.125 kB / 0.6968 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.405e-06/0.6247, allocations: 0 / 0.6968 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002267/0.625, allocations: 0 / 0.6968 GB, free: 5.25 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01066/0.6356, allocations: 3.871 MB / 0.7006 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.6357, allocations: 9.906 kB / 0.7006 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008549/0.6366, allocations: 232.3 kB / 0.7008 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002966/0.6395, allocations: 0.5709 MB / 0.7014 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006725/0.6463, allocations: 2.461 MB / 0.7038 GB, free: 488 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.6465, allocations: 146.8 kB / 0.7039 GB, free: 420 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007164/0.6472, allocations: 183.8 kB / 0.7041 GB, free: 364 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005771/0.653, allocations: 2.414 MB / 0.7065 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.373e-05/0.6531, allocations: 7.281 kB / 0.7065 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002894/0.6534, allocations: 74.78 kB / 0.7065 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.173e-05/0.6534, allocations: 39.44 kB / 0.7066 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004283/0.6577, allocations: 2.022 MB / 0.7086 GB, free: 13.64 MB / 0.5294 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.01762/0.6754, allocations: 12.16 MB / 0.7204 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003012/0.6784, allocations: 1.553 MB / 0.7219 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/0.6801, allocations: 1.082 MB / 0.723 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007568/0.6877, allocations: 4.098 MB / 0.727 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001603/0.6894, allocations: 0.891 MB / 0.7279 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002188/0.6916, allocations: 450.6 kB / 0.7283 GB, free: 11.17 MB / 0.545 GB Notification: Performance of pre-optimization done (n=96): time 4.849e-06/0.6916, allocations: 4 kB / 0.7283 GB, free: 11.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=96): time 0.01558/0.7072, allocations: 5.204 MB / 0.7334 GB, free: 5.922 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.7073, allocations: 64.41 kB / 0.7334 GB, free: 5.844 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005582/0.7129, allocations: 3.016 MB / 0.7364 GB, free: 2.828 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003467/0.7133, allocations: 53.7 kB / 0.7364 GB, free: 2.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001517/0.7148, allocations: 1.433 MB / 0.7378 GB, free: 1.324 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005107/0.7153, allocations: 335.2 kB / 0.7382 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.7155, allocations: 32 kB / 0.7382 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.7157, allocations: 357.9 kB / 0.7385 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/0.7172, allocations: 0.6987 MB / 0.7392 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/0.7193, allocations: 1.486 MB / 0.7407 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/0.721, allocations: 0.9066 MB / 0.7416 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/0.721, allocations: 7.938 kB / 0.7416 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.006968/0.728, allocations: 2.944 MB / 0.7444 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003792/0.7284, allocations: 0.5379 MB / 0.745 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/0.7285, allocations: 16 kB / 0.745 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002754/0.7312, allocations: 0.774 MB / 0.7457 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.7325, allocations: 297.4 kB / 0.746 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.7348, allocations: 2.177 MB / 0.7481 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003193/0.7381, allocations: 252.7 kB / 0.7484 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/0.7383, allocations: 75.97 kB / 0.7485 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.7384, allocations: 4 kB / 0.7485 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004404/0.7428, allocations: 2.31 MB / 0.7507 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/0.7428, allocations: 16 kB / 0.7507 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/0.7443, allocations: 0.5795 MB / 0.7513 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.7454, allocations: 277.9 kB / 0.7516 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007813/0.7532, allocations: 6.508 MB / 0.7579 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002839/0.7561, allocations: 236.7 kB / 0.7581 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002794/0.7564, allocations: 71.97 kB / 0.7582 GB, free: 11.51 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001771/0.7581, allocations: 0.828 MB / 0.759 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007898/0.7589, allocations: 296.2 kB / 0.7593 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005269/0.7642, allocations: 2.498 MB / 0.7617 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/0.7643, allocations: 8 kB / 0.7617 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.7643, allocations: 0 / 0.7617 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00362/0.7679, allocations: 2.182 MB / 0.7639 GB, free: 5.605 MB / 0.5762 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.009412/0.7773, allocations: 4.734 MB / 0.7685 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.7774, allocations: 3.953 kB / 0.7685 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007651/0.7781, allocations: 145.8 kB / 0.7686 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001123/0.7793, allocations: 0.5477 MB / 0.7692 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.625e-05/0.7794, allocations: 27.98 kB / 0.7692 GB, free: 60 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/0.7813, allocations: 2.092 MB / 0.7713 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7813, allocations: 0 / 0.7713 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00579/0.7871, allocations: 3.342 MB / 0.7745 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/0.7888, allocations: 0.5557 MB / 0.7751 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008817/0.7897, allocations: 24 kB / 0.7751 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002328/0.7921, allocations: 203.6 kB / 0.7753 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.7923, allocations: 72.84 kB / 0.7753 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.7924, allocations: 39.98 kB / 0.7754 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003689/0.7961, allocations: 2.06 MB / 0.7774 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7961, allocations: 3.938 kB / 0.7774 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006239/0.8023, allocations: 1.486 MB / 0.7788 GB, free: 6.086 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.006913/0.8093, allocations: 4.003 MB / 0.7828 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005962/0.8153, allocations: 3.251 MB / 0.7859 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.8153, allocations: 0 / 0.7859 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001522/0.8168, allocations: 0.824 MB / 0.7867 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008483/0.8253, allocations: 1.557 MB / 0.7883 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05163/0.877, allocations: 21.32 MB / 0.8091 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00231/0.8793, allocations: 2.037 MB / 0.8111 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00314/0.8825, allocations: 0.6729 MB / 0.8117 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001811/0.8843, allocations: 1.175 MB / 0.8129 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of SimCode: time 9.02e-07/0.8843, allocations: 0 / 0.8129 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.414/1.298, allocations: 84.58 MB / 0.8955 GB, free: 208.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/1.299, allocations: 248.8 kB / 0.8957 GB, free: 208.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.105/5.403, allocations: 4 kB / 0.8957 GB, free: 208.2 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example1v1.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1) Environment - environmentSimulation: