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.001299/0.001299, allocations: 96.41 kB / 15.05 MB, free: 1.109 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.001582/0.001582, allocations: 181.3 kB / 15.95 MB, free: 216 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.452/2.452, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.286/1.286, allocations: 132.3 MB / 423.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005123/0.0005123, allocations: 8.562 kB / 0.5033 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8649/0.8654, allocations: 81.56 MB / 0.583 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.06399/0.9295, allocations: 35.01 MB / 0.6171 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02422/0.9538, allocations: 9.476 MB / 0.6264 GB, free: 2.828 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004041/0.9579, allocations: 44.53 kB / 0.6264 GB, free: 2.809 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003584/0.9616, allocations: 0.5198 MB / 0.6269 GB, free: 2.355 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.9723, allocations: 1.617 MB / 0.6285 GB, free: 1 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008882/0.9812, allocations: 1.455 MB / 0.6299 GB, free: 0 / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007758/0.989, allocations: 1.592 MB / 0.6315 GB, free: 14.77 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002417/0.9915, allocations: 0.77 MB / 0.6323 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003598/0.9952, allocations: 0.8135 MB / 0.6331 GB, free: 13.17 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.9969, allocations: 0.517 MB / 0.6336 GB, free: 12.65 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001992/0.9971, allocations: 40 kB / 0.6336 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/1, allocations: 483.5 kB / 0.6341 GB, free: 12.14 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003379/1, allocations: 183.2 kB / 0.6342 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005847/1.001, allocations: 245.1 kB / 0.6345 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003049/1.004, allocations: 1.294 MB / 0.6357 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.004, allocations: 4 kB / 0.6357 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 6.672e-06/1.004, allocations: 0 / 0.6357 GB, free: 10.41 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.139e-05/1.004, allocations: 3.938 kB / 0.6357 GB, free: 10.41 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.003632/1.008, allocations: 1.312 MB / 0.637 GB, free: 9.035 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.56e-05/1.008, allocations: 8.031 kB / 0.637 GB, free: 9.027 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002816/1.008, allocations: 126.8 kB / 0.6371 GB, free: 8.895 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002656/1.011, allocations: 390.2 kB / 0.6375 GB, free: 8.512 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002477/1.013, allocations: 0.8752 MB / 0.6384 GB, free: 7.594 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.324e-05/1.013, allocations: 62 kB / 0.6384 GB, free: 7.531 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/1.014, allocations: 80 kB / 0.6385 GB, free: 7.453 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003112/1.017, allocations: 1.018 MB / 0.6395 GB, free: 6.387 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/1.017, allocations: 0 / 0.6395 GB, free: 6.387 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/1.017, allocations: 36 kB / 0.6395 GB, free: 6.352 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/1.017, allocations: 24 kB / 0.6396 GB, free: 6.328 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003384/1.02, allocations: 0.8898 MB / 0.6404 GB, free: 5.434 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.008627/1.029, allocations: 3.896 MB / 0.6442 GB, free: 1.352 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/1.032, allocations: 0.6653 MB / 0.6449 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001526/1.033, allocations: 0.9574 MB / 0.6458 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001591/1.035, allocations: 451.2 kB / 0.6462 GB, free: 15.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=47): time 5.29e-06/1.035, allocations: 0 / 0.6462 GB, free: 15.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=47): time 0.004681/1.04, allocations: 1.05 MB / 0.6473 GB, free: 14 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/1.04, allocations: 110.8 kB / 0.6474 GB, free: 13.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/1.042, allocations: 0.8782 MB / 0.6482 GB, free: 12.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001183/1.042, allocations: 37.7 kB / 0.6483 GB, free: 12.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006565/1.043, allocations: 487.7 kB / 0.6487 GB, free: 12.44 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002905/1.043, allocations: 161.7 kB / 0.6489 GB, free: 12.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/1.043, allocations: 23.94 kB / 0.6489 GB, free: 12.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002165/1.043, allocations: 322 kB / 0.6492 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/1.045, allocations: 321.1 kB / 0.6495 GB, free: 11.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/1.046, allocations: 498.4 kB / 0.65 GB, free: 11.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/1.048, allocations: 390.2 kB / 0.6504 GB, free: 10.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/1.048, allocations: 8 kB / 0.6504 GB, free: 10.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003734/1.052, allocations: 0.9606 MB / 0.6513 GB, free: 9.699 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.393e-05/1.052, allocations: 33.7 kB / 0.6514 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/1.052, allocations: 8 kB / 0.6514 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/1.052, allocations: 8.594 kB / 0.6514 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/1.053, allocations: 207.7 kB / 0.6516 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.574e-05/1.053, allocations: 11.94 kB / 0.6516 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/1.055, allocations: 159.1 kB / 0.6517 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/1.055, allocations: 31.98 kB / 0.6518 GB, free: 9.242 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.0008451/1.056, allocations: 273.6 kB / 0.652 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002934/1.056, allocations: 98.78 kB / 0.6521 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004114/1.06, allocations: 1.136 MB / 0.6532 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.12e-05/1.06, allocations: 8 kB / 0.6532 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/1.06, allocations: 0 / 0.6532 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/1.06, allocations: 3.984 kB / 0.6532 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00655/1.067, allocations: 2.213 MB / 0.6554 GB, free: 5.422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/1.067, allocations: 7.984 kB / 0.6554 GB, free: 5.414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/1.069, allocations: 171.9 kB / 0.6556 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.56e-05/1.069, allocations: 4 kB / 0.6556 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.706e-05/1.069, allocations: 15.98 kB / 0.6556 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/1.069, allocations: 7.938 kB / 0.6556 GB, free: 5.219 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/1.069, allocations: 7.953 kB / 0.6556 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005679/1.074, allocations: 1.607 MB / 0.6572 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/1.076, allocations: 299.5 kB / 0.6575 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/1.076, allocations: 12 kB / 0.6575 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/1.077, allocations: 115.9 kB / 0.6576 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/1.078, allocations: 52.27 kB / 0.6576 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/1.078, allocations: 23.98 kB / 0.6577 GB, free: 3.035 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00155/1.079, allocations: 0.6221 MB / 0.6583 GB, free: 2.402 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.81e-07/1.079, allocations: 0 / 0.6583 GB, free: 2.402 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002013/1.081, allocations: 363.3 kB / 0.6586 GB, free: 2.047 MB / 494.1 MB 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.008188/1.089, allocations: 3.051 MB / 0.6616 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003724/1.093, allocations: 0.8499 MB / 0.6624 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/1.093, allocations: 0 / 0.6624 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001885/1.095, allocations: 438.6 kB / 0.6628 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003859/1.099, allocations: 442.3 kB / 0.6633 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02995/1.129, allocations: 9.945 MB / 0.673 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/1.13, allocations: 1.061 MB / 0.674 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001623/1.132, allocations: 203.3 kB / 0.6742 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009029/1.133, allocations: 415.2 kB / 0.6746 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of SimCode: time 1.743e-06/1.133, allocations: 0 / 0.6746 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5867/1.719, allocations: 28.97 MB / 0.7029 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003604/1.72, allocations: 203.5 kB / 0.7031 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.309/6.029, allocations: 0 / 0.7031 GB, free: 4.688 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: