Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.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.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example",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.0008197/0.0008197, 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.0009661/0.0009661, 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.411/1.411, allocations: 223.2 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7283/0.7283, allocations: 132.3 MB / 423.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003179, allocations: 11.94 kB / 0.5035 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4376, allocations: 81.57 MB / 0.5831 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.03809/0.4757, allocations: 38.54 MB / 0.6208 GB, free: 7.148 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01655/0.4923, allocations: 10.23 MB / 0.6308 GB, free: 14.84 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002311/0.4947, allocations: 41.19 kB / 0.6308 GB, free: 14.83 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.4962, allocations: 389.1 kB / 0.6312 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003926/0.5001, allocations: 1.151 MB / 0.6323 GB, free: 13.58 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003029/0.5032, allocations: 0.9546 MB / 0.6332 GB, free: 12.91 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004004/0.5072, allocations: 3.035 MB / 0.6362 GB, free: 10.17 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/0.5088, allocations: 0.7659 MB / 0.6369 GB, free: 9.391 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002246/0.511, allocations: 0.8827 MB / 0.6378 GB, free: 8.504 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.5125, allocations: 0.7115 MB / 0.6385 GB, free: 7.789 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002599/0.5128, allocations: 40 kB / 0.6385 GB, free: 7.75 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.5147, allocations: 431.5 kB / 0.639 GB, free: 7.328 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003453/0.515, allocations: 183.1 kB / 0.6391 GB, free: 7.148 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004973/0.5155, allocations: 249.1 kB / 0.6394 GB, free: 6.898 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001944/0.5175, allocations: 1.309 MB / 0.6406 GB, free: 5.586 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5175, allocations: 4 kB / 0.6406 GB, free: 5.582 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5175, allocations: 0 / 0.6406 GB, free: 5.582 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.459e-05/0.5176, allocations: 0 / 0.6406 GB, free: 5.582 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002479/0.5201, allocations: 1.304 MB / 0.6419 GB, free: 4.219 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.5201, allocations: 8.031 kB / 0.6419 GB, free: 4.211 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002338/0.5204, allocations: 142.7 kB / 0.6421 GB, free: 4.062 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.522, allocations: 378.2 kB / 0.6424 GB, free: 3.691 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.5238, allocations: 0.9259 MB / 0.6433 GB, free: 2.723 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.087e-05/0.5239, allocations: 58 kB / 0.6434 GB, free: 2.664 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.524, allocations: 80 kB / 0.6435 GB, free: 2.586 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.5261, allocations: 1.022 MB / 0.6445 GB, free: 1.516 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.5262, allocations: 0 / 0.6445 GB, free: 1.516 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-05/0.5263, allocations: 39.88 kB / 0.6445 GB, free: 1.477 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.5263, allocations: 20 kB / 0.6445 GB, free: 1.457 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/0.5285, allocations: 0.8899 MB / 0.6454 GB, free: 0.5625 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.005546/0.534, allocations: 3.88 MB / 0.6492 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.5357, allocations: 0.673 MB / 0.6498 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007708/0.5364, allocations: 337.4 kB / 0.6502 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009645/0.5374, allocations: 0.9536 MB / 0.6511 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009966/0.5384, allocations: 467.2 kB / 0.6515 GB, free: 9.852 MB / 494.1 MB Notification: Performance of pre-optimization done (n=47): time 2.665e-06/0.5385, allocations: 0 / 0.6515 GB, free: 9.852 MB / 494.1 MB Notification: Performance of matching and sorting (n=47): time 0.002806/0.5413, allocations: 1.043 MB / 0.6526 GB, free: 8.801 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/0.5414, allocations: 110.8 kB / 0.6527 GB, free: 8.668 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.5427, allocations: 0.8508 MB / 0.6535 GB, free: 7.793 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.807e-05/0.5428, allocations: 37.7 kB / 0.6535 GB, free: 7.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/0.5432, allocations: 487.7 kB / 0.654 GB, free: 7.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.5433, allocations: 161.6 kB / 0.6541 GB, free: 7.109 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.5434, allocations: 20 kB / 0.6542 GB, free: 7.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.5435, allocations: 329.9 kB / 0.6545 GB, free: 6.762 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000811/0.5443, allocations: 317.1 kB / 0.6548 GB, free: 6.453 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000947/0.5453, allocations: 0.4906 MB / 0.6553 GB, free: 5.895 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008804/0.5462, allocations: 382.3 kB / 0.6556 GB, free: 5.516 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.5462, allocations: 8 kB / 0.6556 GB, free: 5.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002255/0.5485, allocations: 0.9491 MB / 0.6566 GB, free: 4.543 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/0.5485, allocations: 43.88 kB / 0.6566 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.5485, allocations: 4 kB / 0.6566 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.5486, allocations: 12.59 kB / 0.6566 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000957/0.5495, allocations: 211.6 kB / 0.6568 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.5496, allocations: 8 kB / 0.6568 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009241/0.5505, allocations: 159 kB / 0.657 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.764e-05/0.5506, allocations: 35.98 kB / 0.657 GB, free: 4.074 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mDHW60C.T_start,mDHW60C.T_start,$PRE.mDHW60C.count,mDHW60C.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004536/0.5511, allocations: 265.6 kB / 0.6573 GB, free: 3.805 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.5513, allocations: 98.88 kB / 0.6574 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/0.5539, allocations: 1.15 MB / 0.6585 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.5539, allocations: 11.98 kB / 0.6585 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.5539, allocations: 0 / 0.6585 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.554, allocations: 3.984 kB / 0.6585 GB, free: 2.551 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003809/0.5578, allocations: 2.202 MB / 0.6606 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.5578, allocations: 0 / 0.6606 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008353/0.5586, allocations: 168 kB / 0.6608 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/0.5587, allocations: 4 kB / 0.6608 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.612e-05/0.5587, allocations: 19.98 kB / 0.6608 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.277e-06/0.5588, allocations: 7.953 kB / 0.6608 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.5588, allocations: 3.938 kB / 0.6608 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003103/0.5619, allocations: 1.545 MB / 0.6623 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000539/0.5624, allocations: 279.9 kB / 0.6626 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.5626, allocations: 12 kB / 0.6626 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008937/0.5635, allocations: 115.8 kB / 0.6627 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.5637, allocations: 60.23 kB / 0.6628 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.594e-05/0.5638, allocations: 27.98 kB / 0.6628 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009865/0.5648, allocations: 0.6025 MB / 0.6634 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5648, allocations: 0 / 0.6634 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001222/0.566, allocations: 343.4 kB / 0.6637 GB, free: 13.03 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (dHW_RealInput.THot.T,dHW_ProfileReader.THot.T) * Number of discrete variables: 3 ($whenCondition1,mDHW60C.T_start,mDHW60C.count) * Number of discrete states: 1 (mDHW60C.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004731/0.5707, allocations: 2.619 MB / 0.6663 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002039/0.5728, allocations: 0.8499 MB / 0.6671 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5728, allocations: 0 / 0.6671 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.5738, allocations: 438.7 kB / 0.6675 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/0.5762, allocations: 460.7 kB / 0.668 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01594/0.5922, allocations: 6.746 MB / 0.6746 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006708/0.5929, allocations: 1.046 MB / 0.6756 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001035/0.5939, allocations: 219.1 kB / 0.6758 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005916/0.5946, allocations: 399.3 kB / 0.6762 GB, free: 140 kB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/0.5946, allocations: 4 kB / 0.6762 GB, free: 136 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2897/0.8842, allocations: 28.39 MB / 0.7039 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/0.8845, allocations: 214 kB / 0.7041 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/3.342, allocations: 0 / 0.7041 GB, free: 3.914 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example.fmu > IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1) Environment - environmentSimulation: