Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.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.TapProfile,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.TapProfile,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile",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.001468/0.001468, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9534/0.9534, allocations: 135.6 MB / 425.9 MB, free: 11.93 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 66.98 kB / 0.506 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1458, allocations: 81.02 MB / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.2565/0.4023, allocations: 43.57 MB / 0.6276 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008634/0.411, allocations: 8.447 MB / 0.6359 GB, free: 23.03 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.412, allocations: 43.75 kB / 0.6359 GB, free: 23.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.4132, allocations: 0.5172 MB / 0.6364 GB, free: 22.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002699/0.4159, allocations: 1.512 MB / 0.6379 GB, free: 21.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.418, allocations: 1.17 MB / 0.639 GB, free: 21.14 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001823/0.4198, allocations: 2.632 MB / 0.6416 GB, free: 19.88 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008563/0.4207, allocations: 0.9169 MB / 0.6425 GB, free: 19.46 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.4223, allocations: 1.267 MB / 0.6437 GB, free: 18.83 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006714/0.423, allocations: 0.7337 MB / 0.6445 GB, free: 18.47 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.4231, allocations: 86.38 kB / 0.6445 GB, free: 18.47 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.4246, allocations: 0.8732 MB / 0.6454 GB, free: 18.13 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.4248, allocations: 246.3 kB / 0.6456 GB, free: 17.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000362/0.4251, allocations: 0.5405 MB / 0.6462 GB, free: 17.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.4265, allocations: 1.67 MB / 0.6478 GB, free: 17 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4266, allocations: 0 / 0.6478 GB, free: 17 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4266, allocations: 3.938 kB / 0.6478 GB, free: 16.99 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.602e-05/0.4266, allocations: 2.625 kB / 0.6478 GB, free: 16.99 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001471/0.4281, allocations: 1.367 MB / 0.6491 GB, free: 16.03 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.4281, allocations: 11.81 kB / 0.6491 GB, free: 16.03 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.546e-05/0.4282, allocations: 110 kB / 0.6493 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.4284, allocations: 126.9 kB / 0.6494 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008296/0.4292, allocations: 0.7756 MB / 0.6501 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.4293, allocations: 56.97 kB / 0.6502 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.19e-05/0.4293, allocations: 70.78 kB / 0.6503 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009532/0.4303, allocations: 0.7886 MB / 0.651 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.4303, allocations: 0 / 0.651 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.117e-05/0.4304, allocations: 26.69 kB / 0.651 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.4304, allocations: 19.09 kB / 0.6511 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007903/0.4312, allocations: 0.5123 MB / 0.6516 GB, free: 14.7 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.002537/0.4337, allocations: 3.831 MB / 0.6553 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000607/0.4344, allocations: 340 kB / 0.6556 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003314/0.4347, allocations: 205.6 kB / 0.6558 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005831/0.4353, allocations: 1.315 MB / 0.6571 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004484/0.4358, allocations: 268.9 kB / 0.6574 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.773e-06/0.4358, allocations: 0 / 0.6574 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.001281/0.4371, allocations: 0.6451 MB / 0.658 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.4371, allocations: 115.2 kB / 0.6581 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008583/0.438, allocations: 0.817 MB / 0.6589 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.438, allocations: 34.2 kB / 0.6589 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/0.4383, allocations: 468.8 kB / 0.6594 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.452e-05/0.4384, allocations: 137.3 kB / 0.6595 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.4385, allocations: 130.8 kB / 0.6596 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.819e-05/0.4386, allocations: 330.2 kB / 0.66 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.4389, allocations: 166.6 kB / 0.6601 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004709/0.4394, allocations: 390.4 kB / 0.6605 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007483/0.4401, allocations: 0.5503 MB / 0.661 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4402, allocations: 1.938 kB / 0.661 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001132/0.4413, allocations: 0.6419 MB / 0.6617 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4413, allocations: 8.703 kB / 0.6617 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.4413, allocations: 5.188 kB / 0.6617 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.4414, allocations: 8.406 kB / 0.6617 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00042/0.4418, allocations: 123.3 kB / 0.6618 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.4418, allocations: 17.66 kB / 0.6618 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005161/0.4423, allocations: 81.17 kB / 0.6619 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.969e-05/0.4424, allocations: 35.14 kB / 0.6619 GB, free: 7.105 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.tap2.demPro.nextTimeEvent,$whenCondition2,$PRE.tap1.demPro.nextTimeEvent,$whenCondition1,tap2.demPro.nextTimeEventScaled,$PRE.tap2.demPro.nextTimeEventScaled,tap2.demPro.nextTimeEvent,tap2.DHWCom,tap1.demPro.nextTimeEventScaled,$PRE.tap1.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEvent,tap1.DHWCom) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * 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.0002754/0.4427, allocations: 273 kB / 0.6622 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.4428, allocations: 92.39 kB / 0.6623 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.4446, allocations: 1.087 MB / 0.6633 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/0.4447, allocations: 14.61 kB / 0.6633 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4447, allocations: 5.25 kB / 0.6633 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.4447, allocations: 3.281 kB / 0.6634 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/0.4471, allocations: 1.955 MB / 0.6653 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.4471, allocations: 3.812 kB / 0.6653 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.4474, allocations: 87.86 kB / 0.6653 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.4474, allocations: 10.19 kB / 0.6654 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.4475, allocations: 27.28 kB / 0.6654 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.4475, allocations: 5.984 kB / 0.6654 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.4475, allocations: 3.469 kB / 0.6654 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.4487, allocations: 0.9821 MB / 0.6664 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/0.449, allocations: 271 kB / 0.6666 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.4491, allocations: 16.14 kB / 0.6666 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.4495, allocations: 38.56 kB / 0.6667 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.4496, allocations: 61.41 kB / 0.6667 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.236e-05/0.4497, allocations: 31.92 kB / 0.6668 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006621/0.4504, allocations: 0.5564 MB / 0.6673 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4504, allocations: 0 / 0.6673 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009356/0.4513, allocations: 346.4 kB / 0.6676 GB, free: 4.277 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,tap1.DHWCom,tap1.demPro.nextTimeEvent,tap1.demPro.nextTimeEventScaled,tap2.DHWCom,tap2.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled) * Number of discrete states: 4 (tap2.demPro.nextTimeEvent,tap1.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 49 * 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.003294/0.4546, allocations: 2.202 MB / 0.6698 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.4559, allocations: 0.6285 MB / 0.6704 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4559, allocations: 1.625 kB / 0.6704 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005666/0.4565, allocations: 386.3 kB / 0.6708 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.4582, allocations: 401.3 kB / 0.6711 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008656/0.4669, allocations: 7.068 MB / 0.678 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000679/0.4676, allocations: 1.048 MB / 0.6791 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006234/0.4682, allocations: 200.5 kB / 0.6793 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005006/0.4687, allocations: 373.9 kB / 0.6796 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.4688, allocations: 5.562 kB / 0.6796 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.91/3.378, allocations: 28.5 MB / 0.7075 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/17.43, allocations: 4 kB / 0.7075 GB, free: 13.94 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile.fmu > IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1)