Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001614/0.001614, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001997/0.001997, allocations: 215 kB / 20.13 MB, free: 2.949 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.474/1.474, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.737/2.737, allocations: 476.7 MB / 0.7678 GB, free: 9.363 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_11_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.001998/0.001998, allocations: 75.88 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9145/0.9165, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.004183/0.9207, allocations: 2.081 MB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.9222, allocations: 0.6544 MB / 1.282 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.9223, allocations: 7.438 kB / 1.282 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.9225, allocations: 24.94 kB / 1.282 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.9226, allocations: 39.22 kB / 1.282 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.9231, allocations: 95.33 kB / 1.282 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003516/0.9234, allocations: 232.6 kB / 1.282 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002675/0.9237, allocations: 85.92 kB / 1.282 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.9239, allocations: 101.9 kB / 1.282 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.9241, allocations: 103.9 kB / 1.282 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.168e-05/0.9242, allocations: 24.16 kB / 1.282 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.9243, allocations: 38.08 kB / 1.282 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.002e-05/0.9244, allocations: 60.41 kB / 1.282 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.9245, allocations: 106.4 kB / 1.282 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004419/0.925, allocations: 284.6 kB / 1.283 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.925, allocations: 0 / 1.283 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.815e-06/0.925, allocations: 2.516 kB / 1.283 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.925, allocations: 0 / 1.283 GB, free: 9.176 MB / 0.9981 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.0009329/0.9259, allocations: 0.5303 MB / 1.283 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.9259, allocations: 10.47 kB / 1.283 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.596e-05/0.926, allocations: 8.969 kB / 1.283 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.57e-05/0.926, allocations: 48.55 kB / 1.283 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/0.9264, allocations: 49.5 kB / 1.283 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.9268, allocations: 261 kB / 1.284 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.9268, allocations: 16.34 kB / 1.284 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.9269, allocations: 16.56 kB / 1.284 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/0.9273, allocations: 225.8 kB / 1.284 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.9274, allocations: 0 / 1.284 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.9274, allocations: 12.05 kB / 1.284 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.9274, allocations: 7.781 kB / 1.284 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.9277, allocations: 134.7 kB / 1.284 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.9289, allocations: 0.5955 MB / 1.285 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/0.9293, allocations: 121.4 kB / 1.285 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.9294, allocations: 42.2 kB / 1.285 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.9294, allocations: 1.703 kB / 1.285 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.9295, allocations: 41.73 kB / 1.285 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 2.304e-06/0.9295, allocations: 0 / 1.285 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0005284/0.93, allocations: 165.5 kB / 1.285 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.803e-05/0.9301, allocations: 135.4 kB / 1.285 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.9303, allocations: 221.5 kB / 1.285 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.9304, allocations: 34.64 kB / 1.285 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.9305, allocations: 147 kB / 1.285 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.9306, allocations: 34.08 kB / 1.286 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.065e-05/0.9307, allocations: 39.16 kB / 1.286 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.9308, allocations: 328.6 kB / 1.286 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.931, allocations: 46.91 kB / 1.286 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.9311, allocations: 82.53 kB / 1.286 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.9314, allocations: 94.25 kB / 1.286 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.9314, allocations: 1.312 kB / 1.286 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003461/0.9317, allocations: 148.5 kB / 1.286 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.9317, allocations: 5.281 kB / 1.286 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.9318, allocations: 2.062 kB / 1.286 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.9318, allocations: 5.344 kB / 1.286 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.9319, allocations: 24.11 kB / 1.286 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.9319, allocations: 5.391 kB / 1.286 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.9321, allocations: 36.08 kB / 1.286 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.9321, allocations: 2.859 kB / 1.286 GB, free: 6.504 MB / 0.9981 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.000154/0.9322, allocations: 137.7 kB / 1.286 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.9323, allocations: 17.38 kB / 1.286 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.301e-05/0.9323, allocations: 33.02 kB / 1.286 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.9324, allocations: 1.188 kB / 1.286 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.9324, allocations: 0 / 1.286 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.9324, allocations: 1.219 kB / 1.286 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003648/0.9327, allocations: 273.7 kB / 1.287 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.9327, allocations: 1.406 kB / 1.287 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.744e-05/0.9328, allocations: 17.28 kB / 1.287 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.9328, allocations: 1.156 kB / 1.287 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.9328, allocations: 14.23 kB / 1.287 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.9328, allocations: 1.781 kB / 1.287 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.9329, allocations: 0 / 1.287 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.9332, allocations: 227.1 kB / 1.287 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-05/0.9333, allocations: 97.58 kB / 1.287 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.9333, allocations: 11.78 kB / 1.287 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.9335, allocations: 18.11 kB / 1.287 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.124e-05/0.9336, allocations: 27.11 kB / 1.287 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.9336, allocations: 8.078 kB / 1.287 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001536/0.9337, allocations: 153.6 kB / 1.287 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9337, allocations: 0 / 1.287 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002763/0.934, allocations: 39.67 kB / 1.287 GB, free: 5.688 MB / 0.9981 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.0008027/0.9348, allocations: 0.7685 MB / 1.288 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003692/0.9352, allocations: 106.7 kB / 1.288 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.9352, allocations: 1.406 kB / 1.288 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.9353, allocations: 49.62 kB / 1.288 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.9357, allocations: 29.62 kB / 1.288 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.9383, allocations: 2.015 MB / 1.29 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.9387, allocations: 0.7342 MB / 1.291 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.3e-05/0.9388, allocations: 20.09 kB / 1.291 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.9389, allocations: 64.88 kB / 1.291 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/0.9389, allocations: 4 kB / 1.291 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/0.9601, allocations: 4.048 MB / 1.295 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/9.103, allocations: 3.781 kB / 1.295 GB, free: 2.121 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.109904049022589] Failed to read output from testmodel.py, exit status != 0: 9.236811519018374 9.256691592 8.327741145 Calling exit ...