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: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",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.001287/0.001287, allocations: 96.03 kB / 15.68 MB, free: 488 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.00167/0.00167, allocations: 171.3 kB / 16.56 MB, free: 6.391 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.334/1.334, 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 1.101/1.101, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004658/0.0004658, allocations: 12.84 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2747, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.709/0.9838, allocations: 58.53 MB / 0.6139 GB, free: 3.469 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02472/1.009, allocations: 12.13 MB / 0.6257 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004062/1.013, allocations: 56.97 kB / 0.6258 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004349/1.017, allocations: 0.786 MB / 0.6265 GB, free: 10.37 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01249/1.03, allocations: 2.228 MB / 0.6287 GB, free: 8.91 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00963/1.039, allocations: 1.908 MB / 0.6306 GB, free: 7.91 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00914/1.048, allocations: 2.789 MB / 0.6333 GB, free: 6.07 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003132/1.052, allocations: 1.321 MB / 0.6346 GB, free: 5.266 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007152/1.059, allocations: 1.313 MB / 0.6359 GB, free: 4.465 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004999/1.064, allocations: 0.8823 MB / 0.6367 GB, free: 3.934 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001301/1.065, allocations: 72.94 kB / 0.6368 GB, free: 3.934 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01084/1.076, allocations: 1.176 MB / 0.638 GB, free: 3.438 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001877/1.078, allocations: 338 kB / 0.6383 GB, free: 3.191 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002567/1.081, allocations: 432.6 kB / 0.6387 GB, free: 2.945 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01101/1.092, allocations: 2.679 MB / 0.6413 GB, free: 1.066 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/1.092, allocations: 1.438 kB / 0.6413 GB, free: 1.066 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.1e-06/1.092, allocations: 0 / 0.6413 GB, free: 1.066 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001415/1.092, allocations: 0 / 0.6413 GB, free: 1.066 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.01179/1.104, allocations: 2.064 MB / 0.6433 GB, free: 15.52 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.522e-05/1.104, allocations: 13.72 kB / 0.6433 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001459/1.106, allocations: 203.8 kB / 0.6435 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/1.117, allocations: 0.7576 MB / 0.6443 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009503/1.127, allocations: 1.552 MB / 0.6458 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006571/1.128, allocations: 148.9 kB / 0.6459 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001367/1.129, allocations: 135.7 kB / 0.6461 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/1.14, allocations: 1.813 MB / 0.6478 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000173/1.141, allocations: 6.812 kB / 0.6478 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008843/1.142, allocations: 58.42 kB / 0.6479 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001548/1.142, allocations: 52.61 kB / 0.6479 GB, free: 12.42 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/1.153, allocations: 1.602 MB / 0.6495 GB, free: 10.86 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.01979/1.172, allocations: 7.615 MB / 0.6569 GB, free: 2.883 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00278/1.175, allocations: 0.8945 MB / 0.6578 GB, free: 1.977 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00165/1.177, allocations: 1.278 MB / 0.6591 GB, free: 432 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.245e-05/1.177, allocations: 43.22 kB / 0.6591 GB, free: 380 kB / 478.1 MB Notification: Performance of pre-optimization done (n=81): time 3.878e-06/1.177, allocations: 0 / 0.6591 GB, free: 380 kB / 478.1 MB Notification: Performance of matching and sorting (n=81): time 0.01844/1.195, allocations: 2.809 MB / 0.6618 GB, free: 13.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/1.196, allocations: 188.6 kB / 0.662 GB, free: 13.31 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003339/1.199, allocations: 1.476 MB / 0.6635 GB, free: 11.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000354/1.199, allocations: 49.7 kB / 0.6635 GB, free: 11.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009107/1.2, allocations: 0.7523 MB / 0.6643 GB, free: 11.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005296/1.201, allocations: 284 kB / 0.6645 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/1.201, allocations: 20 kB / 0.6645 GB, free: 10.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/1.201, allocations: 345.9 kB / 0.6649 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002148/1.203, allocations: 0.5568 MB / 0.6654 GB, free: 9.805 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002401/1.206, allocations: 0.8603 MB / 0.6663 GB, free: 8.824 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002222/1.208, allocations: 0.5963 MB / 0.6668 GB, free: 8.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/1.208, allocations: 4 kB / 0.6668 GB, free: 8.227 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.006608/1.215, allocations: 1.683 MB / 0.6685 GB, free: 6.531 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001785/1.216, allocations: 2.598 MB / 0.671 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.111e-05/1.217, allocations: 4 kB / 0.671 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002309/1.219, allocations: 495.3 kB / 0.6715 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/1.221, allocations: 283.5 kB / 0.6718 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/1.223, allocations: 0.9935 MB / 0.6727 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003622/1.226, allocations: 302.5 kB / 0.673 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000335/1.227, allocations: 59.94 kB / 0.6731 GB, free: 1.543 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/1.227, allocations: 7.953 kB / 0.6731 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00556/1.232, allocations: 1.532 MB / 0.6746 GB, free: 16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/1.232, allocations: 11.98 kB / 0.6746 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/1.234, allocations: 489.6 kB / 0.6751 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/1.236, allocations: 283.5 kB / 0.6753 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/1.238, allocations: 0.9901 MB / 0.6763 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003053/1.241, allocations: 283.3 kB / 0.6766 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002988/1.241, allocations: 59.94 kB / 0.6766 GB, free: 13.88 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.002471/1.243, allocations: 490.3 kB / 0.6771 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/1.245, allocations: 154.1 kB / 0.6772 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/1.256, allocations: 1.529 MB / 0.6787 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.763e-05/1.256, allocations: 8 kB / 0.6787 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-05/1.256, allocations: 4 kB / 0.6787 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009491/1.265, allocations: 1.303 MB / 0.68 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02747/1.293, allocations: 3.887 MB / 0.6838 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-05/1.293, allocations: 4 kB / 0.6838 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001948/1.295, allocations: 179.7 kB / 0.684 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00323/1.298, allocations: 485.2 kB / 0.6845 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003236/1.299, allocations: 27.95 kB / 0.6845 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002941/1.302, allocations: 0.9912 MB / 0.6855 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-05/1.302, allocations: 7.953 kB / 0.6855 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01428/1.316, allocations: 2.451 MB / 0.6879 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002474/1.318, allocations: 430.8 kB / 0.6883 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001431/1.32, allocations: 27.98 kB / 0.6883 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00475/1.325, allocations: 179.7 kB / 0.6885 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005691/1.325, allocations: 88.33 kB / 0.6885 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004325/1.326, allocations: 43.95 kB / 0.6886 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004565/1.33, allocations: 1.05 MB / 0.6896 GB, free: 148 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.162e-06/1.331, allocations: 0 / 0.6896 GB, free: 148 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008962/1.339, allocations: 0.9667 MB / 0.6906 GB, free: 15.18 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.02118/1.361, allocations: 4.475 MB / 0.6949 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01343/1.374, allocations: 2.008 MB / 0.6969 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.72e-05/1.374, allocations: 7.781 kB / 0.6969 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004139/1.379, allocations: 0.6319 MB / 0.6975 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008481/1.387, allocations: 0.7852 MB / 0.6983 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/1.41, allocations: 8.778 MB / 0.7069 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002508/1.412, allocations: 1.305 MB / 0.7081 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005576/1.418, allocations: 393 kB / 0.7085 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002283/1.42, allocations: 0.6437 MB / 0.7091 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of SimCode: time 4.348e-06/1.42, allocations: 4 kB / 0.7091 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.742/2.162, allocations: 52.46 MB / 0.7604 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003947/2.163, allocations: 276.2 kB / 0.7606 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.106/9.269, allocations: 3.938 kB / 0.7606 GB, free: 7.609 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1) Environment - environmentSimulation: