Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001228/0.001228, allocations: 116.1 kB / 17.17 MB, free: 6 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.001269/0.001269, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.403/1.403, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.773/2.773, allocations: 0.49 GB / 0.7923 GB, free: 1.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001908/0.001908, allocations: 67.89 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8631/0.865, allocations: 176.1 MB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002576/0.8676, allocations: 2.072 MB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008439/0.8685, allocations: 0.6574 MB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.858e-05/0.8686, allocations: 2.812 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.8687, allocations: 26.11 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.548e-05/0.8687, allocations: 40.52 kB / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.869, allocations: 100.5 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.8692, allocations: 227 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.8694, allocations: 92.73 kB / 1.325 GB, free: 22.54 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.8695, allocations: 102.8 kB / 1.325 GB, free: 22.49 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.725e-05/0.8696, allocations: 101 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.8696, allocations: 22.31 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.8697, allocations: 40.48 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.952e-05/0.8698, allocations: 52.34 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.777e-05/0.8698, allocations: 112.1 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.8701, allocations: 287.8 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.8701, allocations: 2.781 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8701, allocations: 0 / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.8701, allocations: 4 kB / 1.325 GB, free: 22.18 MB / 1.061 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.0006254/0.8707, allocations: 0.5253 MB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.8707, allocations: 14.36 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.06e-05/0.8708, allocations: 3.094 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.8708, allocations: 57.84 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002653/0.8711, allocations: 55.64 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.8714, allocations: 262.2 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.8714, allocations: 12.59 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.8714, allocations: 15.5 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.8717, allocations: 228.3 kB / 1.326 GB, free: 21.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.8717, allocations: 6.531 kB / 1.326 GB, free: 21.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.8718, allocations: 8 kB / 1.326 GB, free: 21.24 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.8718, allocations: 5.156 kB / 1.326 GB, free: 21.24 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.872, allocations: 137.6 kB / 1.327 GB, free: 21.2 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007198/0.8727, allocations: 0.5879 MB / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.8731, allocations: 115.1 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.8732, allocations: 41.22 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.8732, allocations: 4.688 kB / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.8732, allocations: 39.73 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.8732, allocations: 3.938 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0004416/0.8737, allocations: 161.1 kB / 1.328 GB, free: 20.58 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.8737, allocations: 135.1 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.8739, allocations: 213 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.8739, allocations: 34.77 kB / 1.328 GB, free: 20.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/0.874, allocations: 151.5 kB / 1.328 GB, free: 20.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.874, allocations: 34.48 kB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-05/0.8741, allocations: 38.42 kB / 1.328 GB, free: 20.06 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.749e-05/0.8741, allocations: 329.7 kB / 1.328 GB, free: 19.74 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.8742, allocations: 46.7 kB / 1.328 GB, free: 19.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.8744, allocations: 86.36 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.8746, allocations: 95 kB / 1.329 GB, free: 19.62 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8746, allocations: 4.469 kB / 1.329 GB, free: 19.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002956/0.8749, allocations: 143.6 kB / 1.329 GB, free: 19.54 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.8749, allocations: 4.938 kB / 1.329 GB, free: 19.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.8749, allocations: 5.312 kB / 1.329 GB, free: 19.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.8749, allocations: 7.781 kB / 1.329 GB, free: 19.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.875, allocations: 19.97 kB / 1.329 GB, free: 19.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.875, allocations: 1.719 kB / 1.329 GB, free: 19.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.8751, allocations: 31.64 kB / 1.329 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.8752, allocations: 3.75 kB / 1.329 GB, free: 19.52 MB / 1.061 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 9.258e-05/0.8753, allocations: 134.3 kB / 1.329 GB, free: 19.39 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.8753, allocations: 20.33 kB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.061e-05/0.8753, allocations: 29.94 kB / 1.329 GB, free: 19.36 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.8753, allocations: 0.875 kB / 1.329 GB, free: 19.36 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.8754, allocations: 1.344 kB / 1.329 GB, free: 19.36 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.8754, allocations: 0 / 1.329 GB, free: 19.36 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.8756, allocations: 265.8 kB / 1.329 GB, free: 19.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8756, allocations: 3.938 kB / 1.329 GB, free: 19.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.531e-05/0.8757, allocations: 14.64 kB / 1.329 GB, free: 19.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.8757, allocations: 0.8438 kB / 1.329 GB, free: 19.13 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.8757, allocations: 16.66 kB / 1.329 GB, free: 19.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.8757, allocations: 4.656 kB / 1.329 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8757, allocations: 0 / 1.329 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.876, allocations: 221 kB / 1.33 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.876, allocations: 100.9 kB / 1.33 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.8761, allocations: 10.78 kB / 1.33 GB, free: 18.83 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.8762, allocations: 23.39 kB / 1.33 GB, free: 18.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.8763, allocations: 23.77 kB / 1.33 GB, free: 18.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.8763, allocations: 6.609 kB / 1.33 GB, free: 18.82 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001093/0.8764, allocations: 160.2 kB / 1.33 GB, free: 18.71 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8764, allocations: 0.5 kB / 1.33 GB, free: 18.71 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002597/0.8767, allocations: 35.55 kB / 1.33 GB, free: 18.71 MB / 1.061 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.0004509/0.8771, allocations: 0.7771 MB / 1.331 GB, free: 18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002941/0.8774, allocations: 104.8 kB / 1.331 GB, free: 17.96 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.8774, allocations: 0 / 1.331 GB, free: 17.96 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.8776, allocations: 51.23 kB / 1.331 GB, free: 17.95 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.8779, allocations: 28.44 kB / 1.331 GB, free: 17.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.8798, allocations: 2.018 MB / 1.333 GB, free: 16.4 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.88, allocations: 0.7308 MB / 1.333 GB, free: 15.7 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.89e-05/0.8801, allocations: 20.77 kB / 1.334 GB, free: 15.7 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.8802, allocations: 64.61 kB / 1.334 GB, free: 15.65 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.8802, allocations: 0 / 1.334 GB, free: 15.65 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.9018, allocations: 4.046 MB / 1.338 GB, free: 15.13 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.968, allocations: 9.031 kB / 1.338 GB, free: 15.13 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.835464955016505] Failed to read output from testmodel.py, exit status != 0: 9.094288079999387 9.114189174 8.240831014 Calling exit ...