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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 177 kB / 8.005 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5111/0.5111, allocations: 90.92 MB / 99.35 MB, free: 2.207 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 221.5 MB / 343.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001113, allocations: 83.95 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.042e-05/2.043e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.165, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.186/1.351, allocations: 387.1 MB / 0.9316 GB, free: 93.96 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/1.351, allocations: 93.25 kB / 0.9317 GB, free: 93.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.098/3.449, allocations: 0.5602 GB / 1.492 GB, free: 75.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.152e-06/3.449, allocations: 0.5938 kB / 1.492 GB, free: 75.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001848/3.449, allocations: 50.45 kB / 1.492 GB, free: 75.71 MB / 0.6042 GB 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.004634/3.454, allocations: 1.987 MB / 1.494 GB, free: 75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/3.454, allocations: 9.156 kB / 1.494 GB, free: 75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00494/3.459, allocations: 0.6881 MB / 1.495 GB, free: 74.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003642/3.463, allocations: 1.863 MB / 1.496 GB, free: 74.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/3.463, allocations: 94.11 kB / 1.497 GB, free: 74.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/3.463, allocations: 87.17 kB / 1.497 GB, free: 74.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002339/3.465, allocations: 1.15 MB / 1.498 GB, free: 74.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002592/3.468, allocations: 1.45 MB / 1.499 GB, free: 74.26 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/3.468, allocations: 6 kB / 1.499 GB, free: 74.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/3.468, allocations: 3.594 kB / 1.499 GB, free: 74.26 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.996e-05/3.468, allocations: 53.91 kB / 1.499 GB, free: 74.26 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.01091/3.479, allocations: 7.078 MB / 1.506 GB, free: 71.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/3.48, allocations: 0.6661 MB / 1.507 GB, free: 71.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005326/3.481, allocations: 373.2 kB / 1.507 GB, free: 71.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/3.482, allocations: 1.271 MB / 1.508 GB, free: 69.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/3.482, allocations: 49.56 kB / 1.508 GB, free: 69.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=77): time 3.266e-06/3.482, allocations: 3.172 kB / 1.508 GB, free: 69.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=77): time 0.004543/3.487, allocations: 1.078 MB / 1.509 GB, free: 69.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/3.487, allocations: 188.5 kB / 1.51 GB, free: 69.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/3.488, allocations: 1.029 MB / 1.511 GB, free: 69.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/3.488, allocations: 33.27 kB / 1.511 GB, free: 69.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005714/3.489, allocations: 0.7732 MB / 1.511 GB, free: 69.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/3.489, allocations: 258.6 kB / 1.512 GB, free: 68.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.45e-05/3.489, allocations: 2.719 kB / 1.512 GB, free: 68.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.05e-05/3.489, allocations: 341.4 kB / 1.512 GB, free: 68.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000536/3.49, allocations: 354.5 kB / 1.512 GB, free: 68.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006956/3.49, allocations: 0.6478 MB / 1.513 GB, free: 68.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/3.492, allocations: 0.521 MB / 1.513 GB, free: 68.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/3.492, allocations: 4.25 kB / 1.513 GB, free: 68.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004862/3.497, allocations: 1.354 MB / 1.515 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004352/3.498, allocations: 2.474 MB / 1.517 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/3.498, allocations: 6.344 kB / 1.517 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008711/3.498, allocations: 369.9 kB / 1.518 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/3.5, allocations: 273.5 kB / 1.518 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/3.501, allocations: 0.9554 MB / 1.519 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/3.504, allocations: 256.7 kB / 1.519 GB, free: 65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/3.504, allocations: 56.62 kB / 1.519 GB, free: 65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/3.504, allocations: 3.75 kB / 1.519 GB, free: 65 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004846/3.509, allocations: 1.186 MB / 1.52 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/3.509, allocations: 5.469 kB / 1.52 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008058/3.51, allocations: 363.1 kB / 1.521 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/3.511, allocations: 273.9 kB / 1.521 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009917/3.512, allocations: 0.9485 MB / 1.522 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/3.514, allocations: 218.2 kB / 1.522 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/3.514, allocations: 59.58 kB / 1.522 GB, free: 64.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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.0003357/3.515, allocations: 140.1 kB / 1.522 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004054/3.519, allocations: 1.072 MB / 1.523 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/3.519, allocations: 136.4 kB / 1.523 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004243/3.523, allocations: 1.156 MB / 1.524 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/3.523, allocations: 7.125 kB / 1.524 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/3.523, allocations: 0 / 1.524 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00356/3.527, allocations: 1.043 MB / 1.526 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007181/3.534, allocations: 2.882 MB / 1.528 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/3.534, allocations: 2.906 kB / 1.528 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009613/3.535, allocations: 171.1 kB / 1.528 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006326/3.536, allocations: 353 kB / 1.529 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.366e-05/3.536, allocations: 23 kB / 1.529 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009625/3.537, allocations: 0.9474 MB / 1.53 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/3.537, allocations: 5.031 kB / 1.53 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/3.547, allocations: 2.436 MB / 1.532 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008293/3.548, allocations: 403.5 kB / 1.533 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/3.548, allocations: 15.62 kB / 1.533 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/3.55, allocations: 148.2 kB / 1.533 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/3.55, allocations: 84.81 kB / 1.533 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.5e-05/3.55, allocations: 47.61 kB / 1.533 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009501/3.551, allocations: 0.7752 MB / 1.534 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/3.551, allocations: 5.75 kB / 1.534 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002773/3.554, allocations: 1.019 MB / 1.535 GB, free: 61.77 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * 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.01267/3.567, allocations: 4.723 MB / 1.539 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002496/3.569, allocations: 1.421 MB / 1.541 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/3.569, allocations: 0 / 1.541 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007097/3.57, allocations: 479.5 kB / 1.541 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003086/3.573, allocations: 0.5917 MB / 1.542 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005568/3.579, allocations: 2.432 MB / 1.544 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006219/3.579, allocations: 1.297 MB / 1.545 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001987/3.581, allocations: 432.1 kB / 1.546 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006542/3.582, allocations: 0.6047 MB / 1.546 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of SimCode: time 6.81e-07/3.582, allocations: 0 / 1.546 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07359/3.655, allocations: 48.73 MB / 1.594 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/3.656, allocations: 193.7 kB / 1.594 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.429/7.084, allocations: 0 / 1.594 GB, free: 55.38 MB / 0.6042 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)