Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_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.001072/0.001072, allocations: 108 kB / 15.61 MB, free: 152 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.001052/0.001053, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9864/0.9864, allocations: 143 MB / 433.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 67.88 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1361, allocations: 82.04 MB / 0.5944 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003338/0.1395, allocations: 2.019 MB / 0.5964 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.1405, allocations: 0.5727 MB / 0.5969 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.1407, allocations: 7.938 kB / 0.5969 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.1408, allocations: 19.73 kB / 0.597 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.415e-05/0.1409, allocations: 39.59 kB / 0.597 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.1412, allocations: 75.84 kB / 0.5971 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.1414, allocations: 224 kB / 0.5973 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.1417, allocations: 111.6 kB / 0.5974 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.1418, allocations: 91.62 kB / 0.5975 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.142, allocations: 99.55 kB / 0.5976 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/0.142, allocations: 24 kB / 0.5976 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.093e-05/0.1421, allocations: 35.98 kB / 0.5976 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/0.1422, allocations: 55.72 kB / 0.5977 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.1423, allocations: 107.5 kB / 0.5978 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.1426, allocations: 275.4 kB / 0.5981 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1426, allocations: 4 kB / 0.5981 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.685e-06/0.1426, allocations: 0 / 0.5981 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.1426, allocations: 3.938 kB / 0.5981 GB, free: 5.738 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007575/0.1434, allocations: 0.5142 MB / 0.5986 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1434, allocations: 8.625 kB / 0.5986 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.875e-05/0.1435, allocations: 54.73 kB / 0.5986 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.859e-05/0.1435, allocations: 36.64 kB / 0.5987 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.1438, allocations: 253.2 kB / 0.5989 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.1439, allocations: 12.38 kB / 0.5989 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.1439, allocations: 16.38 kB / 0.5989 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.1443, allocations: 229.3 kB / 0.5991 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1444, allocations: 4 kB / 0.5991 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.1444, allocations: 8 kB / 0.5992 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1444, allocations: 4 kB / 0.5992 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/0.1447, allocations: 139.9 kB / 0.5993 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008711/0.1456, allocations: 0.5973 MB / 0.5999 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.1459, allocations: 114.8 kB / 0.6 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.1461, allocations: 52.83 kB / 0.6 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.19e-05/0.1461, allocations: 192 / 0.6 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.1461, allocations: 38.5 kB / 0.6001 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.1461, allocations: 0 / 0.6001 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004588/0.1466, allocations: 181.2 kB / 0.6002 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.1467, allocations: 128.5 kB / 0.6004 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.1469, allocations: 219 kB / 0.6006 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.1469, allocations: 33.7 kB / 0.6006 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.722e-05/0.147, allocations: 144.2 kB / 0.6007 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.147, allocations: 31.55 kB / 0.6008 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.557e-05/0.1471, allocations: 37.7 kB / 0.6008 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1472, allocations: 330.8 kB / 0.6011 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1473, allocations: 43.97 kB / 0.6012 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.1475, allocations: 84.27 kB / 0.6013 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.1477, allocations: 95.88 kB / 0.6013 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1477, allocations: 4 kB / 0.6013 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002992/0.148, allocations: 153.4 kB / 0.6015 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.148, allocations: 10.59 kB / 0.6015 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.148, allocations: 0 / 0.6015 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.1481, allocations: 7.938 kB / 0.6015 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1482, allocations: 15.98 kB / 0.6015 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1482, allocations: 3.984 kB / 0.6015 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.1483, allocations: 27.92 kB / 0.6016 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.1484, allocations: 4 kB / 0.6016 GB, free: 1.871 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001123/0.1485, allocations: 137.8 kB / 0.6017 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.1485, allocations: 23.75 kB / 0.6017 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/0.1489, allocations: 139 kB / 0.6018 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1489, allocations: 7.938 kB / 0.6019 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1489, allocations: 0 / 0.6019 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.1489, allocations: 4.031 kB / 0.6019 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.1492, allocations: 269.5 kB / 0.6021 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1492, allocations: 4 kB / 0.6021 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.544e-05/0.1493, allocations: 15.98 kB / 0.6021 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1493, allocations: 0 / 0.6021 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.1493, allocations: 7.984 kB / 0.6021 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1493, allocations: 4.406 kB / 0.6021 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1493, allocations: 4 kB / 0.6021 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.1496, allocations: 231.2 kB / 0.6024 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.1497, allocations: 92.92 kB / 0.6025 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.1497, allocations: 4 kB / 0.6025 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.1499, allocations: 27.91 kB / 0.6025 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.15, allocations: 19.97 kB / 0.6025 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.15, allocations: 8 kB / 0.6025 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000117/0.1501, allocations: 148.6 kB / 0.6027 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1501, allocations: 0 / 0.6027 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000289/0.1504, allocations: 43.84 kB / 0.6027 GB, free: 0.6055 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.2428/0.3932, allocations: 0.7685 MB / 0.6034 GB, free: 43.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004605/0.3937, allocations: 109 kB / 0.6036 GB, free: 43.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.3937, allocations: 6.719 kB / 0.6036 GB, free: 43.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.3938, allocations: 53.75 kB / 0.6036 GB, free: 43.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.3943, allocations: 20.84 kB / 0.6036 GB, free: 43.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.3962, allocations: 1.99 MB / 0.6056 GB, free: 42.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.3963, allocations: 0.7286 MB / 0.6063 GB, free: 41.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.123e-05/0.3964, allocations: 21.03 kB / 0.6063 GB, free: 41.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.739e-05/0.3965, allocations: 65.41 kB / 0.6064 GB, free: 41.8 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.3965, allocations: 0 / 0.6064 GB, free: 41.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2656/0.6621, allocations: 3.964 MB / 0.6102 GB, free: 41.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.445/9.108, allocations: 10.31 kB / 0.6102 GB, free: 41.48 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)