Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001394/0.001394, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001532/0.001532, allocations: 216.7 kB / 23.04 MB, free: 5.074 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.305/1.305, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.846/2.846, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_latest_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.001801/0.001801, allocations: 75.14 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2715, allocations: 179 MB / 1.345 GB, free: 452 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003044/0.2746, allocations: 2.083 MB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.2756, allocations: 0.6584 MB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.582e-05/0.2757, allocations: 11.94 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.2758, allocations: 19.73 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.462e-05/0.2759, allocations: 39.59 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.2762, allocations: 103.8 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.2764, allocations: 228 kB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.2766, allocations: 92.19 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.2767, allocations: 95.66 kB / 1.349 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.2769, allocations: 111.5 kB / 1.349 GB, free: 12.98 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.2769, allocations: 24 kB / 1.349 GB, free: 12.96 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.517e-05/0.277, allocations: 39.98 kB / 1.349 GB, free: 12.92 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.507e-05/0.277, allocations: 55.78 kB / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.175e-05/0.2771, allocations: 107.5 kB / 1.349 GB, free: 12.76 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.2774, allocations: 278.8 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2774, allocations: 0 / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2774, allocations: 0 / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2775, allocations: 3.938 kB / 1.349 GB, free: 12.48 MB / 1.045 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.0007191/0.2782, allocations: 484.8 kB / 1.35 GB, free: 11.98 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.2782, allocations: 8.031 kB / 1.35 GB, free: 11.97 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.776e-05/0.2782, allocations: 4.188 kB / 1.35 GB, free: 11.97 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/0.2783, allocations: 54.73 kB / 1.35 GB, free: 11.91 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/0.2785, allocations: 48.72 kB / 1.35 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.2789, allocations: 194.2 kB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.2789, allocations: 20.31 kB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.2789, allocations: 20.38 kB / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.2793, allocations: 216.7 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2793, allocations: 0 / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.2793, allocations: 12 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.2793, allocations: 11.98 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.2796, allocations: 131.9 kB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008509/0.2805, allocations: 0.5576 MB / 1.351 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.2808, allocations: 118.7 kB / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.2809, allocations: 44.84 kB / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.2809, allocations: 0 / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.2809, allocations: 38.56 kB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 8.92e-07/0.2809, allocations: 0 / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0004243/0.2814, allocations: 173.5 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.765e-05/0.2814, allocations: 132.5 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.2817, allocations: 207.9 kB / 1.352 GB, free: 9.852 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.2817, allocations: 37.69 kB / 1.352 GB, free: 9.809 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.2818, allocations: 148.3 kB / 1.352 GB, free: 9.66 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.2818, allocations: 31.75 kB / 1.352 GB, free: 9.629 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/0.2819, allocations: 37.7 kB / 1.352 GB, free: 9.586 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.282, allocations: 330.8 kB / 1.352 GB, free: 9.254 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.2821, allocations: 43.98 kB / 1.352 GB, free: 9.211 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.2823, allocations: 88.62 kB / 1.352 GB, free: 9.109 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.2825, allocations: 89.62 kB / 1.352 GB, free: 9.016 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2825, allocations: 0 / 1.352 GB, free: 9.016 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002969/0.2828, allocations: 149.5 kB / 1.352 GB, free: 8.863 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.2828, allocations: 7.938 kB / 1.352 GB, free: 8.855 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.2828, allocations: 0 / 1.352 GB, free: 8.855 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.2828, allocations: 11.88 kB / 1.352 GB, free: 8.844 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.746e-05/0.2829, allocations: 20.02 kB / 1.353 GB, free: 8.824 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.2829, allocations: 0 / 1.353 GB, free: 8.824 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.283, allocations: 35.86 kB / 1.353 GB, free: 8.789 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.2831, allocations: 0 / 1.353 GB, free: 8.789 MB / 1.045 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.0001233/0.2832, allocations: 137.8 kB / 1.353 GB, free: 8.645 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.2832, allocations: 19.91 kB / 1.353 GB, free: 8.625 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.731e-05/0.2833, allocations: 33.31 kB / 1.353 GB, free: 8.598 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2833, allocations: 4 kB / 1.353 GB, free: 8.594 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2833, allocations: 0 / 1.353 GB, free: 8.594 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2833, allocations: 0 / 1.353 GB, free: 8.594 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.2835, allocations: 240.6 kB / 1.353 GB, free: 8.316 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2835, allocations: 4 kB / 1.353 GB, free: 8.312 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.824e-05/0.2836, allocations: 15.98 kB / 1.353 GB, free: 8.297 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.2836, allocations: 4 kB / 1.353 GB, free: 8.293 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.2837, allocations: 3.938 kB / 1.353 GB, free: 8.289 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2837, allocations: 0 / 1.353 GB, free: 8.289 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2837, allocations: 4 kB / 1.353 GB, free: 8.285 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.284, allocations: 231.3 kB / 1.353 GB, free: 8.043 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.284, allocations: 15.91 kB / 1.353 GB, free: 8.027 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.284, allocations: 11.94 kB / 1.353 GB, free: 8.016 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.2842, allocations: 19.97 kB / 1.353 GB, free: 7.996 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.2842, allocations: 23.95 kB / 1.353 GB, free: 7.973 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.2842, allocations: 8 kB / 1.353 GB, free: 7.965 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000133/0.2844, allocations: 156.6 kB / 1.353 GB, free: 7.812 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2844, allocations: 4 kB / 1.353 GB, free: 7.809 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002438/0.2846, allocations: 39.83 kB / 1.353 GB, free: 7.77 MB / 1.045 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.0005878/0.2852, allocations: 0.767 MB / 1.354 GB, free: 6.973 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002742/0.2855, allocations: 109.1 kB / 1.354 GB, free: 6.867 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2855, allocations: 0 / 1.354 GB, free: 6.867 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.2856, allocations: 47.97 kB / 1.354 GB, free: 6.82 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.2859, allocations: 25.38 kB / 1.354 GB, free: 6.801 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.2881, allocations: 2.01 MB / 1.356 GB, free: 4.699 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.2885, allocations: 0.7359 MB / 1.357 GB, free: 3.938 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.194e-05/0.2885, allocations: 13.42 kB / 1.357 GB, free: 3.926 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.2886, allocations: 67.41 kB / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of SimCode: time 3.71e-07/0.2886, allocations: 3.938 kB / 1.357 GB, free: 3.855 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.3125, allocations: 4.161 MB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.66, allocations: 13.28 kB / 1.361 GB, free: 15.88 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.489812974003144] Failed to read output from testmodel.py, exit status != 0: 10.810393824998755 10.824845087 10.544545946 Calling exit ...