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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(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.0009706/0.0009707, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001028/0.001029, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.2 MB / 239.9 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.014/1.014, allocations: 143.3 MB / 434.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005152/0.0005154, allocations: 8 kB / 0.5159 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2096, allocations: 83.42 MB / 0.5974 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002317/0.2119, allocations: 1.668 MB / 0.599 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008456/0.2128, allocations: 0.5303 MB / 0.5995 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.989e-05/0.2129, allocations: 7.938 kB / 0.5995 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.895e-05/0.213, allocations: 15.8 kB / 0.5995 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.279e-05/0.2131, allocations: 31.94 kB / 0.5996 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.2134, allocations: 59.86 kB / 0.5996 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.2135, allocations: 124.4 kB / 0.5997 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.2137, allocations: 82.12 kB / 0.5998 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.2139, allocations: 59.7 kB / 0.5999 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.214, allocations: 75.55 kB / 0.6 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.214, allocations: 11.94 kB / 0.6 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.807e-05/0.2141, allocations: 16 kB / 0.6 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.431e-05/0.2142, allocations: 27.84 kB / 0.6 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.2142, allocations: 53.64 kB / 0.6001 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.2144, allocations: 203.7 kB / 0.6003 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2144, allocations: 0 / 0.6003 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.826e-06/0.2144, allocations: 0 / 0.6003 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.2144, allocations: 3.938 kB / 0.6003 GB, free: 4.68 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.0007138/0.2152, allocations: 498.5 kB / 0.6007 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.2152, allocations: 8.031 kB / 0.6007 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.142e-05/0.2153, allocations: 50.55 kB / 0.6008 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.949e-05/0.2154, allocations: 35.67 kB / 0.6008 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.2157, allocations: 252.1 kB / 0.6011 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.2157, allocations: 12 kB / 0.6011 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.2158, allocations: 20 kB / 0.6011 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.2162, allocations: 225.4 kB / 0.6013 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2162, allocations: 0 / 0.6013 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.2162, allocations: 12 kB / 0.6013 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.2162, allocations: 4 kB / 0.6013 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.2165, allocations: 151.7 kB / 0.6015 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009058/0.2175, allocations: 0.6052 MB / 0.6021 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.2178, allocations: 126.7 kB / 0.6022 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.2179, allocations: 4 kB / 0.6022 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.2179, allocations: 34.56 kB / 0.6022 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.2179, allocations: 0 / 0.6022 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004382/0.2183, allocations: 185.8 kB / 0.6024 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.2184, allocations: 132.5 kB / 0.6025 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.2186, allocations: 215.2 kB / 0.6027 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.2186, allocations: 29.7 kB / 0.6028 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.2188, allocations: 148.2 kB / 0.6029 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.2188, allocations: 31.55 kB / 0.6029 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-06/0.2188, allocations: 0 / 0.6029 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2189, allocations: 326.8 kB / 0.6032 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.219, allocations: 55.97 kB / 0.6033 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.2192, allocations: 92.2 kB / 0.6034 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.2193, allocations: 51.98 kB / 0.6034 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2193, allocations: 0 / 0.6034 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002991/0.2196, allocations: 161.4 kB / 0.6036 GB, free: 1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.2196, allocations: 4 kB / 0.6036 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2197, allocations: 32 / 0.6036 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2197, allocations: 7.984 kB / 0.6036 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.2198, allocations: 19.98 kB / 0.6036 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2198, allocations: 0 / 0.6036 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.22, allocations: 31.89 kB / 0.6036 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.22, allocations: 8 kB / 0.6036 GB, free: 0.9297 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 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.2201, allocations: 145.3 kB / 0.6038 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.2202, allocations: 19.77 kB / 0.6038 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003877/0.2206, allocations: 151 kB / 0.604 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2206, allocations: 0 / 0.604 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2206, allocations: 4 kB / 0.604 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2206, allocations: 3.984 kB / 0.604 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.2209, allocations: 273.5 kB / 0.6042 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2209, allocations: 0 / 0.6042 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.343e-05/0.221, allocations: 12 kB / 0.6042 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.221, allocations: 11.94 kB / 0.6042 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.221, allocations: 0 / 0.6042 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.221, allocations: 0 / 0.6042 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.221, allocations: 0 / 0.6042 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.2213, allocations: 247.3 kB / 0.6045 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3477/0.5691, allocations: 87.86 kB / 0.6046 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.718e-05/0.5692, allocations: 9.281 kB / 0.6046 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.5694, allocations: 29.86 kB / 0.6046 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.5696, allocations: 23.39 kB / 0.6046 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.5696, allocations: 6.344 kB / 0.6046 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001451/0.5697, allocations: 148 kB / 0.6048 GB, free: 40.56 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5697, allocations: 0.7812 kB / 0.6048 GB, free: 40.56 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003688/0.5701, allocations: 40.05 kB / 0.6048 GB, free: 40.56 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000589/0.5707, allocations: 0.7885 MB / 0.6056 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002967/0.571, allocations: 119.1 kB / 0.6057 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.571, allocations: 3.469 kB / 0.6057 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.5711, allocations: 52.75 kB / 0.6057 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.5714, allocations: 24.95 kB / 0.6058 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.573, allocations: 1.206 MB / 0.6069 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.5732, allocations: 0.7478 MB / 0.6077 GB, free: 38.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.478e-05/0.5733, allocations: 19.2 kB / 0.6077 GB, free: 38.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.2e-05/0.5734, allocations: 63.11 kB / 0.6078 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.5734, allocations: 0 / 0.6078 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.5881, allocations: 3.696 MB / 0.6114 GB, free: 38.44 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/0.5884, allocations: 222.8 kB / 0.6116 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.48, allocations: 2.531 kB / 0.6116 GB, free: 38.2 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/linux/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) Environment - environmentSimulation: