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.001464/0.001465, allocations: 98.45 kB / 15.05 MB, free: 1.105 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.001834/0.001834, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.453/2.453, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.76/1.76, allocations: 135.2 MB / 426.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005537/0.0005539, allocations: 8 kB / 0.5069 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2775, allocations: 82.31 MB / 0.5873 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.5456/0.8232, allocations: 34.99 MB / 0.6214 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0218/0.845, allocations: 9.465 MB / 0.6307 GB, free: 28.28 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002669/0.8478, allocations: 46.59 kB / 0.6307 GB, free: 28.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003002/0.8508, allocations: 0.5295 MB / 0.6312 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008748/0.8596, allocations: 1.611 MB / 0.6328 GB, free: 26.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008933/0.8686, allocations: 1.454 MB / 0.6342 GB, free: 26.2 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006248/0.8748, allocations: 1.601 MB / 0.6358 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002101/0.877, allocations: 0.7719 MB / 0.6366 GB, free: 25.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003235/0.8803, allocations: 0.8086 MB / 0.6373 GB, free: 24.65 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.8816, allocations: 0.5177 MB / 0.6379 GB, free: 24.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001832/0.8818, allocations: 41.78 kB / 0.6379 GB, free: 24.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.8844, allocations: 483 kB / 0.6384 GB, free: 24.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003161/0.8847, allocations: 184.7 kB / 0.6385 GB, free: 24.21 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000446/0.8852, allocations: 243.5 kB / 0.6388 GB, free: 24.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002397/0.8876, allocations: 1.3 MB / 0.64 GB, free: 23.74 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.8877, allocations: 4 kB / 0.64 GB, free: 23.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.547e-06/0.8877, allocations: 0 / 0.64 GB, free: 23.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.33e-05/0.8877, allocations: 0 / 0.64 GB, free: 23.73 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.003708/0.8914, allocations: 1.313 MB / 0.6413 GB, free: 22.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.8915, allocations: 8.719 kB / 0.6413 GB, free: 22.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002782/0.8918, allocations: 131.9 kB / 0.6414 GB, free: 22.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/0.8953, allocations: 386.9 kB / 0.6418 GB, free: 22.65 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/0.8981, allocations: 0.8695 MB / 0.6427 GB, free: 22.1 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.283e-05/0.8983, allocations: 58.88 kB / 0.6427 GB, free: 22.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/0.8985, allocations: 77.53 kB / 0.6428 GB, free: 22.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003753/0.9023, allocations: 1.031 MB / 0.6438 GB, free: 21.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/0.9024, allocations: 0 / 0.6438 GB, free: 21.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/0.9025, allocations: 32.69 kB / 0.6438 GB, free: 21.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/0.9026, allocations: 22.17 kB / 0.6439 GB, free: 21.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004324/0.9069, allocations: 0.8894 MB / 0.6447 GB, free: 21.28 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.008869/0.9158, allocations: 3.901 MB / 0.6485 GB, free: 18.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00307/0.9189, allocations: 0.6626 MB / 0.6492 GB, free: 18.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/0.9202, allocations: 0.9535 MB / 0.6501 GB, free: 17.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001679/0.9219, allocations: 455.6 kB / 0.6505 GB, free: 17.13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 3.727e-06/0.922, allocations: 0 / 0.6505 GB, free: 17.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.004937/0.9269, allocations: 1.051 MB / 0.6516 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.927, allocations: 115.4 kB / 0.6517 GB, free: 16.67 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/0.929, allocations: 0.8849 MB / 0.6525 GB, free: 16.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001586/0.9292, allocations: 33.67 kB / 0.6526 GB, free: 16.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000559/0.9298, allocations: 485.7 kB / 0.653 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/0.9301, allocations: 163.9 kB / 0.6532 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.9301, allocations: 10.59 kB / 0.6532 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.9303, allocations: 330.7 kB / 0.6535 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.9318, allocations: 323.2 kB / 0.6538 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.9334, allocations: 496.1 kB / 0.6543 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/0.9351, allocations: 385.2 kB / 0.6547 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.9351, allocations: 1.25 kB / 0.6547 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.004549/0.9396, allocations: 0.9645 MB / 0.6556 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-05/0.9398, allocations: 36.83 kB / 0.6557 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.9398, allocations: 4.875 kB / 0.6557 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.413e-05/0.9399, allocations: 8.594 kB / 0.6557 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.9415, allocations: 209 kB / 0.6559 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.531e-05/0.9416, allocations: 15.83 kB / 0.6559 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.9437, allocations: 158 kB / 0.656 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/0.9439, allocations: 33.61 kB / 0.6561 GB, free: 14.39 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.0008464/0.9448, allocations: 268 kB / 0.6563 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003493/0.9451, allocations: 100.1 kB / 0.6564 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00549/0.9506, allocations: 1.133 MB / 0.6575 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.671e-05/0.9507, allocations: 13.33 kB / 0.6575 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.9507, allocations: 0 / 0.6575 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.102e-05/0.9508, allocations: 8.375 kB / 0.6575 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007956/0.9587, allocations: 2.213 MB / 0.6597 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/0.9588, allocations: 2.375 kB / 0.6597 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001792/0.9606, allocations: 176.2 kB / 0.6599 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.862e-05/0.9607, allocations: 3.5 kB / 0.6599 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.9608, allocations: 19.81 kB / 0.6599 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.456e-05/0.9608, allocations: 8.062 kB / 0.6599 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.9608, allocations: 4.969 kB / 0.6599 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006543/0.9674, allocations: 1.601 MB / 0.6615 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.9684, allocations: 290.6 kB / 0.6617 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002835/0.9687, allocations: 16.42 kB / 0.6618 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001713/0.9705, allocations: 112.9 kB / 0.6619 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/0.9707, allocations: 48.81 kB / 0.6619 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/0.9709, allocations: 25.17 kB / 0.6619 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001878/0.9728, allocations: 0.6284 MB / 0.6626 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.31e-07/0.9728, allocations: 0 / 0.6626 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002232/0.975, allocations: 361.6 kB / 0.6629 GB, free: 11.17 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.008634/0.9837, allocations: 3.053 MB / 0.6659 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00391/0.9876, allocations: 0.8455 MB / 0.6667 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.9877, allocations: 1.219 kB / 0.6667 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002013/0.9897, allocations: 441.6 kB / 0.6671 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004065/0.9938, allocations: 438.8 kB / 0.6675 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03167/1.026, allocations: 9.951 MB / 0.6773 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/1.027, allocations: 1.061 MB / 0.6783 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001916/1.029, allocations: 213.5 kB / 0.6785 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009747/1.03, allocations: 407.1 kB / 0.6789 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of SimCode: time 2.706e-06/1.03, allocations: 0 / 0.6789 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5114/1.541, allocations: 28.97 MB / 0.7072 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003427/1.541, allocations: 211.2 kB / 0.7074 GB, free: 488 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.335/5.876, allocations: 0 / 0.7074 GB, free: 488 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: