Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 96.66 kB / 15.69 MB, free: 480 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.0016/0.0016, allocations: 176.2 kB / 16.57 MB, free: 6.398 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.312/1.312, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6597/0.6597, allocations: 113.8 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003058, allocations: 8 kB / 493 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1326, allocations: 77.15 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.3015/0.4342, allocations: 58.53 MB / 0.614 GB, free: 3.332 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01791/0.4521, allocations: 12.12 MB / 0.6258 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003515/0.4557, allocations: 61.44 kB / 0.6259 GB, free: 10.68 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003686/0.4594, allocations: 0.7915 MB / 0.6267 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008471/0.4679, allocations: 2.237 MB / 0.6288 GB, free: 8.762 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006398/0.4743, allocations: 1.901 MB / 0.6307 GB, free: 7.738 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005503/0.4798, allocations: 2.789 MB / 0.6334 GB, free: 5.895 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002344/0.4822, allocations: 1.326 MB / 0.6347 GB, free: 5.09 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002988/0.4852, allocations: 1.317 MB / 0.636 GB, free: 4.285 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.4871, allocations: 0.8791 MB / 0.6369 GB, free: 3.758 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000394/0.4875, allocations: 72.53 kB / 0.6369 GB, free: 3.758 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00349/0.491, allocations: 1.176 MB / 0.6381 GB, free: 3.262 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000534/0.4916, allocations: 329.3 kB / 0.6384 GB, free: 3.023 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007878/0.4924, allocations: 435.6 kB / 0.6388 GB, free: 2.773 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003501/0.4959, allocations: 2.684 MB / 0.6414 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.4959, allocations: 0 / 0.6414 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4959, allocations: 0 / 0.6414 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.38e-05/0.496, allocations: 0 / 0.6414 GB, free: 0.8906 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004369/0.5004, allocations: 2.063 MB / 0.6434 GB, free: 15.35 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.5004, allocations: 8.219 kB / 0.6435 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00563/0.506, allocations: 0.758 MB / 0.6442 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002812/0.5089, allocations: 1.55 MB / 0.6457 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.509, allocations: 144.8 kB / 0.6458 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002498/0.5093, allocations: 144.8 kB / 0.646 GB, free: 13.65 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004156/0.5135, allocations: 1.82 MB / 0.6478 GB, free: 12.47 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.5135, allocations: 3.938 kB / 0.6478 GB, free: 12.46 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/0.5137, allocations: 63.83 kB / 0.6478 GB, free: 12.42 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.085e-05/0.5137, allocations: 44.67 kB / 0.6479 GB, free: 12.41 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004946/0.5187, allocations: 1.605 MB / 0.6494 GB, free: 10.89 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.01194/0.5306, allocations: 7.611 MB / 0.6569 GB, free: 2.914 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/0.5331, allocations: 0.8973 MB / 0.6577 GB, free: 2.008 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001356/0.5345, allocations: 1.275 MB / 0.659 GB, free: 468 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.5345, allocations: 43.22 kB / 0.659 GB, free: 416 kB / 478.1 MB Notification: Performance of pre-optimization done (n=81): time 4.188e-06/0.5345, allocations: 4 kB / 0.659 GB, free: 412 kB / 478.1 MB Notification: Performance of matching and sorting (n=81): time 0.01777/0.5523, allocations: 2.816 MB / 0.6618 GB, free: 13.56 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.572e-05/0.5524, allocations: 192.6 kB / 0.662 GB, free: 13.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002375/0.5548, allocations: 1.472 MB / 0.6634 GB, free: 11.85 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001669/0.555, allocations: 55.12 kB / 0.6635 GB, free: 11.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006599/0.5557, allocations: 0.747 MB / 0.6642 GB, free: 11.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002771/0.5559, allocations: 284 kB / 0.6645 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.817e-05/0.556, allocations: 20 kB / 0.6645 GB, free: 10.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.5562, allocations: 345.9 kB / 0.6648 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002048/0.5582, allocations: 0.5491 MB / 0.6653 GB, free: 9.836 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/0.5605, allocations: 0.8642 MB / 0.6662 GB, free: 8.852 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002109/0.5626, allocations: 0.5963 MB / 0.6668 GB, free: 8.258 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.5626, allocations: 4 kB / 0.6668 GB, free: 8.254 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.005312/0.5679, allocations: 1.691 MB / 0.6684 GB, free: 6.551 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008441/0.5688, allocations: 2.6 MB / 0.671 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.5688, allocations: 4 kB / 0.671 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001813/0.5706, allocations: 497.7 kB / 0.6714 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/0.5722, allocations: 279.5 kB / 0.6717 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/0.5739, allocations: 0.9935 MB / 0.6727 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002662/0.5765, allocations: 303.2 kB / 0.673 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/0.5767, allocations: 59.94 kB / 0.673 GB, free: 1.562 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.5767, allocations: 4 kB / 0.673 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004995/0.5817, allocations: 1.531 MB / 0.6745 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.5818, allocations: 8 kB / 0.6745 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/0.5835, allocations: 490.3 kB / 0.675 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.5851, allocations: 283.5 kB / 0.6753 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.5868, allocations: 0.9914 MB / 0.6762 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/0.5895, allocations: 275.5 kB / 0.6765 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002077/0.5898, allocations: 68.14 kB / 0.6766 GB, free: 13.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.001052/0.5908, allocations: 486.2 kB / 0.677 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004422/0.5913, allocations: 158.1 kB / 0.6772 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006228/0.5975, allocations: 1.538 MB / 0.6787 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.5976, allocations: 8 kB / 0.6787 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.5976, allocations: 0 / 0.6787 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00551/0.6031, allocations: 1.303 MB / 0.68 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/0.6192, allocations: 3.88 MB / 0.6837 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.424e-05/0.6193, allocations: 4 kB / 0.6838 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/0.6205, allocations: 171.7 kB / 0.6839 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001834/0.6224, allocations: 484.5 kB / 0.6844 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/0.6226, allocations: 35.95 kB / 0.6844 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.6243, allocations: 0.9884 MB / 0.6854 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.6244, allocations: 7.938 kB / 0.6854 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008299/0.6327, allocations: 2.439 MB / 0.6878 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/0.634, allocations: 442.7 kB / 0.6882 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005327/0.6345, allocations: 20 kB / 0.6882 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002217/0.6368, allocations: 186.8 kB / 0.6884 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.637, allocations: 84.33 kB / 0.6885 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/0.6371, allocations: 47.95 kB / 0.6885 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001935/0.6391, allocations: 1.054 MB / 0.6895 GB, free: 180 kB / 0.4981 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6391, allocations: 0 / 0.6895 GB, free: 180 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003391/0.6425, allocations: 0.9589 MB / 0.6905 GB, free: 15.21 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 5 (heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 4 (heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001394/0.6439, allocations: 0.571 MB / 0.691 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007039/0.6509, allocations: 2.008 MB / 0.693 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.651, allocations: 7.781 kB / 0.693 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002109/0.6531, allocations: 0.6358 MB / 0.6936 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004664/0.6578, allocations: 0.7814 MB / 0.6944 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009747/0.6675, allocations: 3.426 MB / 0.6977 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/0.6689, allocations: 1.301 MB / 0.699 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003145/0.6721, allocations: 399.3 kB / 0.6994 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005828/0.6727, allocations: 135.3 kB / 0.6995 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of SimCode: time 6.81e-07/0.6727, allocations: 0 / 0.6995 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of Templates: time 0.06619/0.7389, allocations: 38.51 MB / 0.7371 GB, free: 15.8 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)