Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008119/0.0008119, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008532/0.0008532, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8575/0.8575, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001417/0.001417, allocations: 237.9 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6518/0.6518, allocations: 138.4 MB / 454.3 MB, free: 29.94 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.792e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.2175/0.2175, allocations: 1.998 MB / 0.6482 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0009401/0.2184, allocations: 0.6181 MB / 0.6489 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.776e-05/0.2185, allocations: 6.656 kB / 0.6489 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.2187, allocations: 21.44 kB / 0.6489 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.041e-05/0.2187, allocations: 39.22 kB / 0.6489 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.219, allocations: 104 kB / 0.649 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.2192, allocations: 235.3 kB / 0.6492 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.2194, allocations: 85.12 kB / 0.6493 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.2196, allocations: 140.1 kB / 0.6495 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.623e-05/0.2197, allocations: 72.19 kB / 0.6495 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.2197, allocations: 24.38 kB / 0.6495 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.586e-05/0.2198, allocations: 36.41 kB / 0.6496 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.257e-05/0.2199, allocations: 59.52 kB / 0.6496 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.2199, allocations: 64.62 kB / 0.6497 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.2202, allocations: 298.1 kB / 0.65 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2202, allocations: 0 / 0.65 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2202, allocations: 1.656 kB / 0.65 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2202, allocations: 0 / 0.65 GB, free: 55.68 MB / 0.5573 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.0005529/0.2208, allocations: 461.3 kB / 0.6504 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.2208, allocations: 10.22 kB / 0.6504 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.048e-05/0.2209, allocations: 52.38 kB / 0.6505 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.2211, allocations: 45.64 kB / 0.6505 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.2214, allocations: 214.4 kB / 0.6507 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.2214, allocations: 13.09 kB / 0.6507 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.2214, allocations: 18.75 kB / 0.6508 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.2217, allocations: 297.7 kB / 0.651 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2217, allocations: 1.5 kB / 0.651 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.2217, allocations: 9.969 kB / 0.6511 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2217, allocations: 4.688 kB / 0.6511 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.2219, allocations: 143.5 kB / 0.6512 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005573/0.2224, allocations: 0.5059 MB / 0.6517 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.2227, allocations: 114.5 kB / 0.6518 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.531e-05/0.2227, allocations: 44.78 kB / 0.6518 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.2227, allocations: 3.594 kB / 0.6518 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.2228, allocations: 38.62 kB / 0.6519 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.2228, allocations: 0 / 0.6519 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.0002841/0.223, allocations: 165.9 kB / 0.652 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.2231, allocations: 131.5 kB / 0.6522 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.2232, allocations: 222.3 kB / 0.6524 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.2232, allocations: 33.98 kB / 0.6524 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.2233, allocations: 151.1 kB / 0.6526 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.2233, allocations: 30.58 kB / 0.6526 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.2233, allocations: 42.62 kB / 0.6526 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.974e-05/0.2234, allocations: 328 kB / 0.6529 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.535e-05/0.2235, allocations: 50.19 kB / 0.653 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.036e-05/0.2235, allocations: 164.3 kB / 0.6531 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.2237, allocations: 83.94 kB / 0.6532 GB, free: 53.35 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2237, allocations: 0.5625 kB / 0.6532 GB, free: 53.35 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001698/0.2238, allocations: 160.6 kB / 0.6534 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.2238, allocations: 3.625 kB / 0.6534 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.2238, allocations: 0 / 0.6534 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2239, allocations: 3.719 kB / 0.6534 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.689e-05/0.2239, allocations: 17.47 kB / 0.6534 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2239, allocations: 0 / 0.6534 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.728e-05/0.224, allocations: 36.66 kB / 0.6534 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.224, allocations: 3.875 kB / 0.6534 GB, free: 53.26 MB / 0.5573 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 6.917e-05/0.2241, allocations: 136.7 kB / 0.6536 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.2241, allocations: 17.61 kB / 0.6536 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.2241, allocations: 23.14 kB / 0.6536 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2241, allocations: 2.688 kB / 0.6536 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2241, allocations: 5.156 kB / 0.6536 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2241, allocations: 3.938 kB / 0.6536 GB, free: 53.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.2243, allocations: 225.1 kB / 0.6538 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2243, allocations: 0 / 0.6538 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.2243, allocations: 15.06 kB / 0.6539 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2243, allocations: 3.375 kB / 0.6539 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.2243, allocations: 2.75 kB / 0.6539 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.2243, allocations: 1.156 kB / 0.6539 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2243, allocations: 0 / 0.6539 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.2245, allocations: 232.9 kB / 0.6541 GB, free: 52.74 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.2245, allocations: 18 kB / 0.6541 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.2245, allocations: 6.031 kB / 0.6541 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.16e-05/0.2246, allocations: 21.16 kB / 0.6541 GB, free: 52.72 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.2247, allocations: 27.61 kB / 0.6541 GB, free: 52.72 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.2247, allocations: 7.562 kB / 0.6542 GB, free: 52.71 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.447e-05/0.2247, allocations: 168.8 kB / 0.6543 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2247, allocations: 0 / 0.6543 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001704/0.2249, allocations: 39.83 kB / 0.6544 GB, free: 52.59 MB / 0.5573 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.0002638/0.2252, allocations: 0.7635 MB / 0.6551 GB, free: 51.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001797/0.2254, allocations: 104.4 kB / 0.6552 GB, free: 51.87 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.2254, allocations: 8 kB / 0.6552 GB, free: 51.86 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.511e-05/0.2254, allocations: 51.53 kB / 0.6553 GB, free: 51.84 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.2256, allocations: 28.44 kB / 0.6553 GB, free: 51.83 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.2269, allocations: 1.992 MB / 0.6572 GB, free: 50.34 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.418e-05/0.227, allocations: 127.9 kB / 0.6574 GB, free: 50.26 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.972e-05/0.2271, allocations: 20.05 kB / 0.6574 GB, free: 50.25 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.002e-05/0.2272, allocations: 66.98 kB / 0.6574 GB, free: 50.21 MB / 0.5573 GB Notification: Performance of SimCode: time 4.91e-07/0.2272, allocations: 0 / 0.6574 GB, free: 50.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.2435, allocations: 4.836 MB / 0.6622 GB, free: 49.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.848/7.092, allocations: 14.34 kB / 0.6622 GB, free: 49.2 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.561244884505868] Failed to read output from testmodel.py, exit status != 0: 7.171691252849996 7.179307135 6.957422027 Calling exit ...