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.005143/0.005143, allocations: 99.06 kB / 15.73 MB, free: 6.004 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.00144/0.00144, allocations: 201.4 kB / 16.68 MB, free: 5.934 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9536/0.9536, allocations: 135.5 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 59.89 kB / 0.5857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3497, allocations: 81.03 MB / 0.6649 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.04227/0.392, allocations: 41.96 MB / 0.7058 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01674/0.4088, allocations: 10.93 MB / 0.7165 GB, free: 11.83 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00197/0.4108, allocations: 51.69 kB / 0.7166 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.4125, allocations: 0.5547 MB / 0.7171 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003975/0.4165, allocations: 1.418 MB / 0.7185 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003245/0.4198, allocations: 1.299 MB / 0.7197 GB, free: 8.516 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003762/0.4235, allocations: 2.662 MB / 0.7223 GB, free: 5.848 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.4251, allocations: 1.107 MB / 0.7234 GB, free: 4.723 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00264/0.4277, allocations: 1.13 MB / 0.7245 GB, free: 3.594 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.4289, allocations: 0.805 MB / 0.7253 GB, free: 2.785 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.4291, allocations: 112 kB / 0.7254 GB, free: 2.676 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.4308, allocations: 0.6982 MB / 0.7261 GB, free: 1.977 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003031/0.4311, allocations: 263 kB / 0.7264 GB, free: 1.719 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006656/0.4317, allocations: 0.6103 MB / 0.727 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002789/0.4345, allocations: 1.862 MB / 0.7288 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.4346, allocations: 0 / 0.7288 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4346, allocations: 0 / 0.7288 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.4346, allocations: 0 / 0.7288 GB, free: 15.24 MB / 0.5606 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.002544/0.4371, allocations: 1.548 MB / 0.7303 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.4372, allocations: 8.031 kB / 0.7303 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/0.4373, allocations: 123 kB / 0.7304 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/0.4392, allocations: 335.8 kB / 0.7307 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001609/0.4408, allocations: 0.965 MB / 0.7317 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-05/0.4409, allocations: 62 kB / 0.7317 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.441, allocations: 80 kB / 0.7318 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.4432, allocations: 1.004 MB / 0.7328 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.4432, allocations: 0 / 0.7328 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.628e-05/0.4433, allocations: 36 kB / 0.7328 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.4433, allocations: 24 kB / 0.7328 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.4458, allocations: 0.8234 MB / 0.7336 GB, free: 10.07 MB / 0.5606 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.005455/0.4512, allocations: 4.025 MB / 0.7376 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.4531, allocations: 0.6178 MB / 0.7382 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009021/0.454, allocations: 309.3 kB / 0.7385 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/0.4551, allocations: 0.9418 MB / 0.7394 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001129/0.4562, allocations: 431.2 kB / 0.7398 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 3.967e-06/0.4562, allocations: 3.984 kB / 0.7398 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47): time 0.003105/0.4594, allocations: 0.9736 MB / 0.7408 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.112e-05/0.4594, allocations: 110.8 kB / 0.7409 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.4607, allocations: 0.8786 MB / 0.7417 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.053e-05/0.4607, allocations: 37.7 kB / 0.7418 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004287/0.4612, allocations: 496.4 kB / 0.7422 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.4613, allocations: 174.5 kB / 0.7424 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/0.4616, allocations: 134.2 kB / 0.7425 GB, free: 500 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4617, allocations: 334 kB / 0.7429 GB, free: 160 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009523/0.4627, allocations: 293.2 kB / 0.7431 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.4638, allocations: 488.1 kB / 0.7436 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/0.4658, allocations: 0.7858 MB / 0.7444 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4659, allocations: 0 / 0.7444 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002486/0.4684, allocations: 0.9338 MB / 0.7453 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/0.4684, allocations: 33.7 kB / 0.7453 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.4684, allocations: 4 kB / 0.7453 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.4684, allocations: 8 kB / 0.7453 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.4695, allocations: 208.3 kB / 0.7455 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.4695, allocations: 8 kB / 0.7455 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008278/0.4703, allocations: 119.3 kB / 0.7456 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-05/0.4704, allocations: 39.98 kB / 0.7457 GB, free: 13.08 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (mDHW60C.count,$PRE.mDHW60C.count,mDHW60C.T_start,$PRE.mDHW60C.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004014/0.4708, allocations: 273.6 kB / 0.7459 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.471, allocations: 107.3 kB / 0.746 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002866/0.4739, allocations: 1.078 MB / 0.7471 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.4739, allocations: 8 kB / 0.7471 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4739, allocations: 0 / 0.7471 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.4739, allocations: 7.984 kB / 0.7471 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003951/0.4779, allocations: 2.151 MB / 0.7492 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4779, allocations: 0 / 0.7492 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008701/0.4788, allocations: 155.7 kB / 0.7494 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.4788, allocations: 4 kB / 0.7494 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.848e-05/0.4788, allocations: 15.98 kB / 0.7494 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4789, allocations: 4 kB / 0.7494 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.4789, allocations: 8.156 kB / 0.7494 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003423/0.4823, allocations: 1.469 MB / 0.7508 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003891/0.4827, allocations: 280.2 kB / 0.7511 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.4828, allocations: 23.88 kB / 0.7511 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007931/0.4836, allocations: 63.98 kB / 0.7512 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.4838, allocations: 56.3 kB / 0.7512 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.325e-05/0.4838, allocations: 23.98 kB / 0.7513 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009112/0.4848, allocations: 0.6183 MB / 0.7519 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4848, allocations: 0 / 0.7519 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001015/0.4858, allocations: 355.2 kB / 0.7522 GB, free: 6.242 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005876/0.4917, allocations: 2.584 MB / 0.7547 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002301/0.494, allocations: 0.8101 MB / 0.7555 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.494, allocations: 4.938 kB / 0.7555 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.4952, allocations: 406.5 kB / 0.7559 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.4974, allocations: 481.9 kB / 0.7564 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.019/0.5164, allocations: 8.345 MB / 0.7645 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007148/0.5171, allocations: 1.041 MB / 0.7655 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008147/0.5179, allocations: 215.8 kB / 0.7657 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006175/0.5186, allocations: 403.3 kB / 0.7661 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of SimCode: time 3.667e-06/0.5186, allocations: 0 / 0.7661 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.931/3.45, allocations: 30.05 MB / 0.7955 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/17.89, allocations: 0 / 0.7955 GB, free: 10.01 MB / 0.6231 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/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)