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: translateModel(IDEAS.Fluid.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile") translateModel(IDEAS.Fluid.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001467/0.001467, allocations: 192.9 kB / 16.25 MB, free: 6.691 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.353/1.353, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9218/0.9218, allocations: 135.6 MB / 425.6 MB, free: 11.88 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 70.33 kB / 0.5054 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1516, allocations: 81.02 MB / 0.5845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.2592/0.4108, allocations: 43.25 MB / 0.6267 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008499/0.4193, allocations: 8.363 MB / 0.6349 GB, free: 23.38 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.4208, allocations: 35.59 kB / 0.6349 GB, free: 23.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.422, allocations: 449.7 kB / 0.6354 GB, free: 23.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003103/0.4251, allocations: 1.404 MB / 0.6367 GB, free: 22.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.4273, allocations: 1.077 MB / 0.6378 GB, free: 21.67 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002019/0.4293, allocations: 2.652 MB / 0.6404 GB, free: 20.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008539/0.4302, allocations: 0.8946 MB / 0.6412 GB, free: 19.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.4319, allocations: 1.277 MB / 0.6425 GB, free: 19.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000622/0.4325, allocations: 0.7461 MB / 0.6432 GB, free: 19 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.553e-05/0.4326, allocations: 92.66 kB / 0.6433 GB, free: 18.99 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.434, allocations: 0.8904 MB / 0.6442 GB, free: 18.63 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.4342, allocations: 249.8 kB / 0.6444 GB, free: 18.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003402/0.4345, allocations: 0.5417 MB / 0.6449 GB, free: 18.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.4359, allocations: 1.687 MB / 0.6466 GB, free: 17.49 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4359, allocations: 0 / 0.6466 GB, free: 17.49 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4359, allocations: 4 kB / 0.6466 GB, free: 17.49 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.4359, allocations: 0 / 0.6466 GB, free: 17.49 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.001365/0.4373, allocations: 1.365 MB / 0.6479 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.4373, allocations: 10.5 kB / 0.6479 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.4375, allocations: 123.2 kB / 0.6481 GB, free: 16.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000792/0.4383, allocations: 0.7786 MB / 0.6488 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/0.4383, allocations: 51.78 kB / 0.6489 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.169e-05/0.4384, allocations: 79.11 kB / 0.6489 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009748/0.4394, allocations: 0.7724 MB / 0.6497 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.4394, allocations: 6.656 kB / 0.6497 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/0.4395, allocations: 27.25 kB / 0.6497 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.4395, allocations: 15.94 kB / 0.6497 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007551/0.4403, allocations: 0.5107 MB / 0.6502 GB, free: 15.29 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.002424/0.4427, allocations: 3.657 MB / 0.6538 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005877/0.4433, allocations: 343.2 kB / 0.6541 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.4436, allocations: 210.6 kB / 0.6543 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005757/0.4442, allocations: 1.306 MB / 0.6556 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000449/0.4447, allocations: 268 kB / 0.6559 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.813e-06/0.4447, allocations: 0.8438 kB / 0.6559 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.001208/0.4459, allocations: 0.6417 MB / 0.6565 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.446, allocations: 116 kB / 0.6566 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008301/0.4468, allocations: 0.812 MB / 0.6574 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.07e-05/0.4468, allocations: 38.7 kB / 0.6574 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.4471, allocations: 469.5 kB / 0.6579 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.441e-05/0.4472, allocations: 134.7 kB / 0.658 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.4473, allocations: 120.8 kB / 0.6581 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.357e-05/0.4474, allocations: 332.5 kB / 0.6584 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003084/0.4477, allocations: 171.6 kB / 0.6586 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004106/0.4481, allocations: 376.9 kB / 0.659 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006865/0.4488, allocations: 0.525 MB / 0.6595 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4488, allocations: 2.938 kB / 0.6595 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001022/0.4498, allocations: 0.6334 MB / 0.6601 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4499, allocations: 7.094 kB / 0.6601 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.4499, allocations: 9.969 kB / 0.6601 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.4499, allocations: 8.219 kB / 0.6601 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.4503, allocations: 116.9 kB / 0.6602 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.4503, allocations: 20.31 kB / 0.6603 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/0.4509, allocations: 97.62 kB / 0.6604 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.576e-05/0.4509, allocations: 36.97 kB / 0.6604 GB, free: 7.902 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0002615/0.4512, allocations: 262.5 kB / 0.6606 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.4513, allocations: 91.84 kB / 0.6607 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.453, allocations: 1.09 MB / 0.6618 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.453, allocations: 11.39 kB / 0.6618 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.453, allocations: 4.938 kB / 0.6618 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.453, allocations: 3.656 kB / 0.6618 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.4555, allocations: 1.96 MB / 0.6637 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.4555, allocations: 3.5 kB / 0.6637 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.4558, allocations: 85.47 kB / 0.6638 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.4558, allocations: 5.062 kB / 0.6638 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/0.4559, allocations: 22.47 kB / 0.6638 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.4559, allocations: 6.125 kB / 0.6638 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4559, allocations: 6.562 kB / 0.6638 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.4571, allocations: 0.9788 MB / 0.6648 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.4574, allocations: 270.5 kB / 0.6651 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.4575, allocations: 17 kB / 0.6651 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004538/0.458, allocations: 60.98 kB / 0.6651 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.4581, allocations: 62.64 kB / 0.6652 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.595e-05/0.4581, allocations: 36.28 kB / 0.6652 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006428/0.4588, allocations: 0.5527 MB / 0.6658 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4588, allocations: 5.094 kB / 0.6658 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009276/0.4597, allocations: 348.9 kB / 0.6661 GB, free: 5.074 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.001956/0.4617, allocations: 0.7594 MB / 0.6668 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.4629, allocations: 0.6248 MB / 0.6675 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4629, allocations: 1.156 kB / 0.6675 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005636/0.4635, allocations: 384.1 kB / 0.6678 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.4652, allocations: 406.6 kB / 0.6682 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.4677, allocations: 2.126 MB / 0.6703 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.4681, allocations: 1.047 MB / 0.6713 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005376/0.4687, allocations: 194 kB / 0.6715 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.4688, allocations: 89.75 kB / 0.6716 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.4689, allocations: 1.906 kB / 0.6716 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of Templates: time 0.0314/0.5003, allocations: 19.24 MB / 0.6904 GB, free: 12.77 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1)