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.0008595/0.0008595, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005346/0.005346, allocations: 170 kB / 16.26 MB, free: 6.613 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.239/1.239, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.876/0.876, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002772/0.0002772, allocations: 8 kB / 0.5077 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.125, allocations: 82.32 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.2498/0.3749, allocations: 40.76 MB / 0.6279 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01038/0.3853, allocations: 10.8 MB / 0.6384 GB, free: 23.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.3866, allocations: 42.44 kB / 0.6385 GB, free: 23.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009914/0.3876, allocations: 460.4 kB / 0.6389 GB, free: 22.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002446/0.39, allocations: 1.317 MB / 0.6402 GB, free: 21.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.3922, allocations: 1.155 MB / 0.6413 GB, free: 21.31 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002245/0.3944, allocations: 3.533 MB / 0.6448 GB, free: 19.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007779/0.3952, allocations: 0.892 MB / 0.6456 GB, free: 19.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.3962, allocations: 0.9299 MB / 0.6465 GB, free: 19.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006234/0.3969, allocations: 0.7707 MB / 0.6473 GB, free: 18.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.902e-05/0.3969, allocations: 41.75 kB / 0.6473 GB, free: 18.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009985/0.3979, allocations: 0.6431 MB / 0.648 GB, free: 18.62 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.3981, allocations: 196.7 kB / 0.6482 GB, free: 18.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003365/0.3984, allocations: 0.5527 MB / 0.6487 GB, free: 18.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.3996, allocations: 1.754 MB / 0.6504 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3996, allocations: 6.562 kB / 0.6504 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3996, allocations: 0 / 0.6504 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.3996, allocations: 0 / 0.6504 GB, free: 17.62 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.001511/0.4011, allocations: 1.295 MB / 0.6517 GB, free: 16.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.4012, allocations: 16.09 kB / 0.6517 GB, free: 16.71 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.4013, allocations: 122.8 kB / 0.6518 GB, free: 16.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.4029, allocations: 385.2 kB / 0.6522 GB, free: 16.55 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.4039, allocations: 0.964 MB / 0.6531 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.404, allocations: 58.03 kB / 0.6532 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.993e-05/0.4041, allocations: 75.34 kB / 0.6532 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/0.4057, allocations: 1.037 MB / 0.6543 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.4057, allocations: 6.594 kB / 0.6543 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-05/0.4058, allocations: 32.28 kB / 0.6543 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.4058, allocations: 17.5 kB / 0.6543 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/0.4079, allocations: 0.8965 MB / 0.6552 GB, free: 15.11 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.003724/0.4116, allocations: 3.879 MB / 0.659 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.4133, allocations: 0.661 MB / 0.6596 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008308/0.4141, allocations: 341.1 kB / 0.6599 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006968/0.4148, allocations: 0.9614 MB / 0.6609 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.4158, allocations: 461.7 kB / 0.6613 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 1.833e-06/0.4159, allocations: 0 / 0.6613 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.002723/0.4186, allocations: 1.056 MB / 0.6624 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.4186, allocations: 110.2 kB / 0.6625 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000975/0.4196, allocations: 0.8575 MB / 0.6633 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.4197, allocations: 37.86 kB / 0.6633 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.4199, allocations: 477.2 kB / 0.6638 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.4201, allocations: 173.6 kB / 0.664 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.385e-05/0.4201, allocations: 54.12 kB / 0.664 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.776e-05/0.4202, allocations: 327.2 kB / 0.6643 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008365/0.421, allocations: 319.7 kB / 0.6646 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008986/0.4219, allocations: 0.4969 MB / 0.6651 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.4236, allocations: 0.8262 MB / 0.6659 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4237, allocations: 2.094 kB / 0.6659 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00207/0.4257, allocations: 0.9654 MB / 0.6669 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.4258, allocations: 34.94 kB / 0.6669 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.4258, allocations: 9.219 kB / 0.6669 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4258, allocations: 7.469 kB / 0.6669 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009007/0.4267, allocations: 209.5 kB / 0.6671 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.4267, allocations: 12.56 kB / 0.6671 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008713/0.4276, allocations: 158.6 kB / 0.6673 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/0.4277, allocations: 34.11 kB / 0.6673 GB, free: 7.832 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 (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 (73): * Single equations (assignments): 72 * 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.0002912/0.428, allocations: 265.5 kB / 0.6676 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.4281, allocations: 95.8 kB / 0.6677 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002503/0.4306, allocations: 1.145 MB / 0.6688 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.4306, allocations: 12.55 kB / 0.6688 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4306, allocations: 1.031 kB / 0.6688 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.4307, allocations: 3 kB / 0.6688 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/0.4339, allocations: 2.209 MB / 0.6709 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.4339, allocations: 2.234 kB / 0.6709 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000762/0.4347, allocations: 167.7 kB / 0.6711 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4347, allocations: 4.812 kB / 0.6711 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.06e-05/0.4348, allocations: 17.73 kB / 0.6711 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.4348, allocations: 4.625 kB / 0.6711 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4348, allocations: 1.5 kB / 0.6711 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00289/0.4377, allocations: 1.552 MB / 0.6726 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002922/0.438, allocations: 282 kB / 0.6729 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.4381, allocations: 14.02 kB / 0.6729 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007964/0.4389, allocations: 113.9 kB / 0.673 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.052e-05/0.439, allocations: 50.36 kB / 0.6731 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.4391, allocations: 25.66 kB / 0.6731 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006596/0.4397, allocations: 0.6069 MB / 0.6737 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4397, allocations: 3.938 kB / 0.6737 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009304/0.4407, allocations: 353 kB / 0.674 GB, free: 4.719 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 (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.004106/0.4448, allocations: 2.656 MB / 0.6766 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0019/0.4467, allocations: 0.8493 MB / 0.6775 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4467, allocations: 1.406 kB / 0.6775 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009671/0.4477, allocations: 444.2 kB / 0.6779 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/0.4498, allocations: 449.7 kB / 0.6783 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/0.4673, allocations: 9.357 MB / 0.6875 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00059/0.4679, allocations: 1.043 MB / 0.6885 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007915/0.4687, allocations: 207.7 kB / 0.6887 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005296/0.4692, allocations: 406.8 kB / 0.6891 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.4692, allocations: 0 / 0.6891 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.422/6.891, allocations: 28.02 MB / 0.7164 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/6.891, allocations: 228.2 kB / 0.7166 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.647/9.539, allocations: 0 / 0.7166 GB, free: 7.715 MB / 0.5294 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)