Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 97.91 kB / 20.48 MB, free: 1.363 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 214.8 kB / 23.78 MB, free: 4.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.411/1.411, allocations: 230.6 MB / 257.6 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9541/0.9541, allocations: 150 MB / 464 MB, free: 10.2 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 66.23 kB / 0.642 GB, free: 9.898 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2167, allocations: 89.17 MB / 0.729 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.0043/0.221, allocations: 1.992 MB / 0.731 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.2224, allocations: 0.6195 MB / 0.7316 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.2226, allocations: 8 kB / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.2228, allocations: 23.67 kB / 0.7316 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.2229, allocations: 31.66 kB / 0.7317 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.2233, allocations: 103.8 kB / 0.7318 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00037/0.2237, allocations: 232 kB / 0.732 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.2239, allocations: 84.03 kB / 0.7321 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.2242, allocations: 99.64 kB / 0.7322 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.2243, allocations: 107.5 kB / 0.7323 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.086e-05/0.2244, allocations: 28 kB / 0.7323 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.844e-05/0.2245, allocations: 35.94 kB / 0.7323 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.476e-05/0.2246, allocations: 55.83 kB / 0.7324 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.2247, allocations: 83.58 kB / 0.7324 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.2251, allocations: 287.1 kB / 0.7327 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2251, allocations: 0 / 0.7327 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2251, allocations: 0 / 0.7327 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.2251, allocations: 0 / 0.7327 GB, free: 13.03 MB / 0.5606 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.0009267/0.2261, allocations: 465.2 kB / 0.7332 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.2261, allocations: 11.97 kB / 0.7332 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.871e-05/0.2261, allocations: 8.188 kB / 0.7332 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.179e-05/0.2262, allocations: 54.67 kB / 0.7332 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003231/0.2265, allocations: 48.73 kB / 0.7333 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004456/0.2269, allocations: 203.2 kB / 0.7335 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.227, allocations: 23.88 kB / 0.7335 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.227, allocations: 20 kB / 0.7335 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/0.2275, allocations: 293.9 kB / 0.7338 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2275, allocations: 0 / 0.7338 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.2275, allocations: 8 kB / 0.7338 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2275, allocations: 4 kB / 0.7338 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003204/0.2279, allocations: 147.6 kB / 0.734 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000972/0.2288, allocations: 0.5107 MB / 0.7344 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.2293, allocations: 114.7 kB / 0.7346 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.2294, allocations: 48.83 kB / 0.7346 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.2294, allocations: 0 / 0.7346 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.2294, allocations: 34.5 kB / 0.7346 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 8.11e-07/0.2294, allocations: 0 / 0.7346 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004688/0.2299, allocations: 169.7 kB / 0.7348 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.585e-05/0.23, allocations: 132.5 kB / 0.7349 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.2302, allocations: 219.1 kB / 0.7351 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.2303, allocations: 33.7 kB / 0.7352 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.2304, allocations: 152.3 kB / 0.7353 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.2304, allocations: 31.73 kB / 0.7353 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-05/0.2305, allocations: 33.7 kB / 0.7354 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.2306, allocations: 326.8 kB / 0.7357 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.2308, allocations: 51.97 kB / 0.7357 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.231, allocations: 169.3 kB / 0.7359 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.2312, allocations: 84.81 kB / 0.736 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2312, allocations: 384 / 0.736 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003366/0.2315, allocations: 157.4 kB / 0.7361 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.2315, allocations: 6.188 kB / 0.7361 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2315, allocations: 8.031 kB / 0.7361 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.2315, allocations: 3.938 kB / 0.7361 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.2317, allocations: 15.98 kB / 0.7362 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2317, allocations: 0 / 0.7362 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.2318, allocations: 27.92 kB / 0.7362 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.2318, allocations: 11.94 kB / 0.7362 GB, free: 9.184 MB / 0.5606 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.0001394/0.232, allocations: 137.8 kB / 0.7363 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.232, allocations: 27.8 kB / 0.7364 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.44e-05/0.2321, allocations: 25.39 kB / 0.7364 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2321, allocations: 7.938 kB / 0.7364 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2321, allocations: 0 / 0.7364 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.2321, allocations: 0 / 0.7364 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.2324, allocations: 216.7 kB / 0.7366 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2324, allocations: 0 / 0.7366 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.2325, allocations: 19.92 kB / 0.7366 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.2325, allocations: 0 / 0.7366 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.2325, allocations: 4 kB / 0.7366 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.2325, allocations: 0 / 0.7366 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2325, allocations: 7.938 kB / 0.7366 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.2328, allocations: 223.4 kB / 0.7368 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.2328, allocations: 19.8 kB / 0.7369 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.2329, allocations: 15.92 kB / 0.7369 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.2331, allocations: 19.98 kB / 0.7369 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.074e-05/0.2331, allocations: 23.95 kB / 0.7369 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.2332, allocations: 3.984 kB / 0.7369 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001426/0.2333, allocations: 152.7 kB / 0.7371 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2333, allocations: 4 kB / 0.7371 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002678/0.2336, allocations: 35.89 kB / 0.7371 GB, free: 8.195 MB / 0.5606 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.0006708/0.2342, allocations: 0.7709 MB / 0.7379 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003032/0.2345, allocations: 103.9 kB / 0.738 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2345, allocations: 0 / 0.738 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.2347, allocations: 55.97 kB / 0.738 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.235, allocations: 16.67 kB / 0.738 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.2375, allocations: 2.005 MB / 0.74 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.2377, allocations: 125.2 kB / 0.7401 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.016e-05/0.2378, allocations: 21.45 kB / 0.7401 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.2379, allocations: 67.41 kB / 0.7402 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/0.2379, allocations: 0 / 0.7402 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.2631, allocations: 4.295 MB / 0.7444 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.34, allocations: 4.25 kB / 0.7444 GB, free: 0.8398 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.100260757957585] Failed to read output from testmodel.py, exit status != 0: 11.50608227099292 11.524889627 11.296115778 Calling exit ...