Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.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.Tap,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.Tap,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap",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.001256/0.001256, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001304/0.001304, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.304/1.304, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9051/0.9051, allocations: 135.6 MB / 425.6 MB, free: 11.98 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 68.61 kB / 0.5055 GB, free: 5.07 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.141, allocations: 81.02 MB / 0.5846 GB, free: 4.191 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.2405/0.3815, allocations: 43 MB / 0.6266 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006823/0.3884, allocations: 7.263 MB / 0.6337 GB, free: 24.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000825/0.3892, allocations: 39.12 kB / 0.6337 GB, free: 24.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008494/0.3901, allocations: 406.3 kB / 0.6341 GB, free: 23.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.3923, allocations: 1.33 MB / 0.6354 GB, free: 23.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.394, allocations: 0.9639 MB / 0.6363 GB, free: 22.63 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001552/0.3956, allocations: 2.535 MB / 0.6388 GB, free: 21.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007357/0.3963, allocations: 0.8549 MB / 0.6397 GB, free: 21.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.3977, allocations: 1.231 MB / 0.6409 GB, free: 20.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000494/0.3982, allocations: 0.7183 MB / 0.6416 GB, free: 20.08 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.393e-05/0.3983, allocations: 83.66 kB / 0.6416 GB, free: 20.08 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.3994, allocations: 0.8284 MB / 0.6424 GB, free: 19.74 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.3996, allocations: 237.4 kB / 0.6427 GB, free: 19.6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003415/0.3999, allocations: 0.5093 MB / 0.6432 GB, free: 19.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.4011, allocations: 1.553 MB / 0.6447 GB, free: 18.69 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4011, allocations: 0 / 0.6447 GB, free: 18.69 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4011, allocations: 0 / 0.6447 GB, free: 18.69 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.4011, allocations: 0 / 0.6447 GB, free: 18.69 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001516/0.4027, allocations: 1.369 MB / 0.646 GB, free: 17.72 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.4027, allocations: 7.875 kB / 0.646 GB, free: 17.72 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.816e-05/0.4028, allocations: 111.8 kB / 0.6461 GB, free: 17.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.4029, allocations: 117.8 kB / 0.6463 GB, free: 17.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006944/0.4037, allocations: 0.704 MB / 0.6469 GB, free: 17.12 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.4037, allocations: 57.44 kB / 0.647 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.279e-05/0.4038, allocations: 67.25 kB / 0.6471 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.4049, allocations: 0.8276 MB / 0.6479 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.405, allocations: 3.938 kB / 0.6479 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.334e-05/0.405, allocations: 29.53 kB / 0.6479 GB, free: 16.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.4051, allocations: 15.19 kB / 0.6479 GB, free: 16.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.4062, allocations: 0.5919 MB / 0.6485 GB, free: 16.43 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.002501/0.4087, allocations: 3.819 MB / 0.6522 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009506/0.4096, allocations: 377.1 kB / 0.6526 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004388/0.4101, allocations: 227.7 kB / 0.6528 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005473/0.4106, allocations: 1.314 MB / 0.6541 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005833/0.4112, allocations: 299.5 kB / 0.6544 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=39): time 1.823e-06/0.4112, allocations: 0 / 0.6544 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.001613/0.4129, allocations: 0.7041 MB / 0.6551 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.4129, allocations: 67.83 kB / 0.6551 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006896/0.4136, allocations: 0.7184 MB / 0.6558 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.4137, allocations: 35.14 kB / 0.6559 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.4139, allocations: 448.2 kB / 0.6563 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.34e-05/0.414, allocations: 129 kB / 0.6564 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.4141, allocations: 129.3 kB / 0.6565 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.485e-05/0.4142, allocations: 326.1 kB / 0.6568 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/0.4147, allocations: 213.5 kB / 0.657 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005883/0.4153, allocations: 411.5 kB / 0.6574 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000981/0.4162, allocations: 0.6297 MB / 0.658 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4163, allocations: 2.344 kB / 0.6581 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001367/0.4176, allocations: 0.7651 MB / 0.6588 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.4177, allocations: 65.66 kB / 0.6589 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.4177, allocations: 4.281 kB / 0.6589 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.4177, allocations: 12.88 kB / 0.6589 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.4182, allocations: 134.8 kB / 0.659 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.4182, allocations: 13.33 kB / 0.659 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006265/0.4188, allocations: 121.1 kB / 0.6591 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.012e-05/0.4189, allocations: 37.61 kB / 0.6592 GB, free: 8.867 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 (m_flow_set2.count,$PRE.m_flow_set2.count,m_flow_set2.T_start,$PRE.m_flow_set2.T_start,tap2.DHWCom,tap1.DHWCom,m_flow_set1.count,$PRE.m_flow_set1.count,m_flow_set1.T_start,$PRE.m_flow_set1.T_start,$whenCondition1,$whenCondition2,DHWDisCom1_Kh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 2 * 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.0002433/0.4191, allocations: 243.3 kB / 0.6594 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.4192, allocations: 87.41 kB / 0.6595 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/0.4212, allocations: 1.113 MB / 0.6606 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/0.4212, allocations: 17.59 kB / 0.6606 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.4212, allocations: 0.5938 kB / 0.6606 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.4212, allocations: 2.062 kB / 0.6606 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002692/0.4239, allocations: 1.919 MB / 0.6625 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.4239, allocations: 2.844 kB / 0.6625 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/0.4243, allocations: 106.9 kB / 0.6626 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.4243, allocations: 6.922 kB / 0.6626 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.4244, allocations: 25.34 kB / 0.6626 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.024e-06/0.4244, allocations: 10.09 kB / 0.6626 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.4244, allocations: 4.109 kB / 0.6626 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.4265, allocations: 1.399 MB / 0.664 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/0.4268, allocations: 259.9 kB / 0.6642 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.4269, allocations: 16.16 kB / 0.6642 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005388/0.4275, allocations: 74.3 kB / 0.6643 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.4276, allocations: 82.36 kB / 0.6644 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/0.4277, allocations: 28.59 kB / 0.6644 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005675/0.4283, allocations: 499.4 kB / 0.6649 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4283, allocations: 0 / 0.6649 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009164/0.4292, allocations: 331 kB / 0.6652 GB, free: 6.027 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (DHWDisCom1_Kh.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,m_flow_set1.T_start,m_flow_set1.count,tap1.DHWCom,tap2.DHWCom,m_flow_set2.T_start,m_flow_set2.count) * Number of discrete states: 2 (m_flow_set2.count,m_flow_set1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 4 * 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.002901/0.4321, allocations: 2.263 MB / 0.6674 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001572/0.4337, allocations: 0.794 MB / 0.6682 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4337, allocations: 5.062 kB / 0.6682 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008253/0.4345, allocations: 463.2 kB / 0.6686 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.4361, allocations: 378 kB / 0.669 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008677/0.4448, allocations: 7.146 MB / 0.676 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006448/0.4455, allocations: 1.028 MB / 0.677 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005332/0.446, allocations: 168.1 kB / 0.6771 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004571/0.4465, allocations: 350.3 kB / 0.6775 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.4465, allocations: 0 / 0.6775 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5329/0.9794, allocations: 26.3 MB / 0.7032 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003384/0.9798, allocations: 218.5 kB / 0.7034 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/3.617, allocations: 0 / 0.7034 GB, free: 1.82 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap_fmu --startTime=0 --stopTime=259200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap.fmu > IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1)