Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_dev_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.0009482/0.0009483, allocations: 91.69 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.001162/0.001162, 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.41/1.41, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9417/0.9417, allocations: 135.3 MB / 426.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003356, allocations: 8.219 kB / 0.5071 GB, free: 5.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1646, allocations: 82.32 MB / 0.5875 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.3166/0.4813, allocations: 38.52 MB / 0.6251 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01113/0.4925, allocations: 10.22 MB / 0.6351 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.4941, allocations: 51.56 kB / 0.6351 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.4953, allocations: 396 kB / 0.6355 GB, free: 25.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002776/0.4981, allocations: 1.132 MB / 0.6366 GB, free: 24.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002427/0.5005, allocations: 0.9588 MB / 0.6375 GB, free: 24.01 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003132/0.5036, allocations: 3.034 MB / 0.6405 GB, free: 22.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.5047, allocations: 0.7822 MB / 0.6413 GB, free: 22.45 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.5061, allocations: 0.8736 MB / 0.6421 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007699/0.5069, allocations: 0.7209 MB / 0.6428 GB, free: 21.78 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.051e-05/0.507, allocations: 41.16 kB / 0.6429 GB, free: 21.78 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.5082, allocations: 421.2 kB / 0.6433 GB, free: 21.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.5084, allocations: 183.4 kB / 0.6434 GB, free: 21.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.5086, allocations: 248.3 kB / 0.6437 GB, free: 21.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.5096, allocations: 1.311 MB / 0.6449 GB, free: 21.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5096, allocations: 0 / 0.6449 GB, free: 21.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5097, allocations: 0 / 0.6449 GB, free: 21.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.5097, allocations: 4 kB / 0.645 GB, free: 21.09 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.001682/0.5114, allocations: 1.313 MB / 0.6462 GB, free: 20.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.5114, allocations: 8.781 kB / 0.6462 GB, free: 20.18 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.5115, allocations: 132.6 kB / 0.6464 GB, free: 20.08 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.5131, allocations: 385.2 kB / 0.6467 GB, free: 20 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.5143, allocations: 0.9128 MB / 0.6476 GB, free: 19.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.5144, allocations: 57.5 kB / 0.6477 GB, free: 19.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.5145, allocations: 79.97 kB / 0.6478 GB, free: 19.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.5162, allocations: 1.033 MB / 0.6488 GB, free: 18.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.5162, allocations: 0 / 0.6488 GB, free: 18.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.136e-05/0.5163, allocations: 32.5 kB / 0.6488 GB, free: 18.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.5163, allocations: 19.28 kB / 0.6488 GB, free: 18.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.5182, allocations: 0.8921 MB / 0.6497 GB, free: 18.61 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.004014/0.5223, allocations: 3.885 MB / 0.6535 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.5238, allocations: 0.6713 MB / 0.6541 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008379/0.5247, allocations: 342.2 kB / 0.6545 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007873/0.5255, allocations: 0.9522 MB / 0.6554 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.5265, allocations: 455.8 kB / 0.6558 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.325e-06/0.5265, allocations: 4.5 kB / 0.6558 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.002871/0.5294, allocations: 1.049 MB / 0.6569 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.5295, allocations: 108.4 kB / 0.657 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.5307, allocations: 0.85 MB / 0.6578 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.854e-05/0.5308, allocations: 37.83 kB / 0.6578 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/0.5311, allocations: 485.6 kB / 0.6583 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.5313, allocations: 160.7 kB / 0.6584 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.5313, allocations: 14.34 kB / 0.6585 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.83e-05/0.5314, allocations: 327.5 kB / 0.6588 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008563/0.5322, allocations: 324.5 kB / 0.6591 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009101/0.5331, allocations: 491.5 kB / 0.6595 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008936/0.5341, allocations: 390.2 kB / 0.6599 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.5341, allocations: 6.062 kB / 0.6599 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002251/0.5363, allocations: 0.9537 MB / 0.6609 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.5364, allocations: 42.39 kB / 0.6609 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.5364, allocations: 4.344 kB / 0.6609 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.5364, allocations: 17.52 kB / 0.6609 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009879/0.5374, allocations: 208.9 kB / 0.6611 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/0.5374, allocations: 13.27 kB / 0.6611 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009654/0.5384, allocations: 162 kB / 0.6613 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.198e-05/0.5385, allocations: 33.81 kB / 0.6613 GB, free: 11.65 MB / 0.4981 GB 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.000435/0.539, allocations: 266.3 kB / 0.6616 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.5391, allocations: 95.31 kB / 0.6617 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/0.5417, allocations: 1.145 MB / 0.6628 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.5417, allocations: 8.812 kB / 0.6628 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5418, allocations: 13.22 kB / 0.6628 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.5418, allocations: 3.469 kB / 0.6628 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003922/0.5457, allocations: 2.197 MB / 0.6649 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.5457, allocations: 0.9062 kB / 0.6649 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008561/0.5466, allocations: 172.5 kB / 0.6651 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.391e-05/0.5466, allocations: 4.031 kB / 0.6651 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.887e-05/0.5467, allocations: 19.17 kB / 0.6651 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/0.5467, allocations: 2.875 kB / 0.6651 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5467, allocations: 2.5 kB / 0.6651 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003214/0.5499, allocations: 1.546 MB / 0.6667 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005409/0.5505, allocations: 278 kB / 0.6669 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.5507, allocations: 13.8 kB / 0.6669 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009556/0.5517, allocations: 121.4 kB / 0.667 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.5518, allocations: 44.8 kB / 0.6671 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.205e-05/0.5519, allocations: 29.06 kB / 0.6671 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001136/0.553, allocations: 0.5994 MB / 0.6677 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5531, allocations: 0 / 0.6677 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00133/0.5544, allocations: 349.7 kB / 0.668 GB, free: 8.535 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.004903/0.5593, allocations: 2.624 MB / 0.6706 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002135/0.5615, allocations: 0.8528 MB / 0.6714 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.5615, allocations: 1.375 kB / 0.6714 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.5625, allocations: 438.9 kB / 0.6719 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002847/0.5654, allocations: 449.6 kB / 0.6723 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01782/0.5832, allocations: 6.769 MB / 0.6789 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/0.5846, allocations: 1.044 MB / 0.6799 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001484/0.5861, allocations: 207.9 kB / 0.6801 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007627/0.5869, allocations: 406.1 kB / 0.6805 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of SimCode: time 9.52e-07/0.5869, allocations: 0 / 0.6805 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3416/0.9285, allocations: 28.4 MB / 0.7082 GB, free: 308 kB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/0.9287, allocations: 213.2 kB / 0.7084 GB, free: 64 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.523/3.451, allocations: 0 / 0.7084 GB, free: 64 kB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example.fmu > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1) Environment - environmentSimulation: