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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 112.2 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001995/0.001995, allocations: 192.6 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.839/0.839, allocations: 129.2 MB / 432.5 MB, free: 13.14 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 67.88 kB / 0.5987 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3812, allocations: 83.43 MB / 0.6802 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002706/0.3839, allocations: 2.054 MB / 0.6822 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008048/0.3847, allocations: 0.5724 MB / 0.6827 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.339e-05/0.3848, allocations: 6.188 kB / 0.6827 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.3849, allocations: 20.73 kB / 0.6828 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.615e-05/0.3849, allocations: 39.88 kB / 0.6828 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.3852, allocations: 74.73 kB / 0.6829 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.3854, allocations: 231.3 kB / 0.6831 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.3856, allocations: 80.61 kB / 0.6832 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.3857, allocations: 101.3 kB / 0.6833 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.3858, allocations: 97.98 kB / 0.6834 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.3858, allocations: 23.72 kB / 0.6834 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.365e-05/0.3859, allocations: 31.52 kB / 0.6834 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.3859, allocations: 55.86 kB / 0.6835 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.54e-05/0.386, allocations: 109.4 kB / 0.6836 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.3863, allocations: 279.5 kB / 0.6838 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3863, allocations: 0 / 0.6838 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3863, allocations: 0 / 0.6838 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.3863, allocations: 0 / 0.6838 GB, free: 3.277 MB / 0.4981 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.0006135/0.3869, allocations: 0.5208 MB / 0.6844 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3869, allocations: 9.875 kB / 0.6844 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.387, allocations: 48.23 kB / 0.6844 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.387, allocations: 30.16 kB / 0.6844 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.3873, allocations: 260.3 kB / 0.6847 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.3873, allocations: 19.47 kB / 0.6847 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.3873, allocations: 23.62 kB / 0.6847 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.3877, allocations: 215.7 kB / 0.6849 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3877, allocations: 1.156 kB / 0.6849 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.3877, allocations: 9.203 kB / 0.6849 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3877, allocations: 4.906 kB / 0.6849 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/0.388, allocations: 147.7 kB / 0.6851 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007307/0.3887, allocations: 0.5831 MB / 0.6857 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.389, allocations: 120.3 kB / 0.6858 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.924e-05/0.3891, allocations: 50.75 kB / 0.6858 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/0.3891, allocations: 5.469 kB / 0.6858 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.3892, allocations: 36.09 kB / 0.6859 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.3892, allocations: 0 / 0.6859 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004109/0.3896, allocations: 174 kB / 0.686 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.3896, allocations: 135.1 kB / 0.6862 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.3898, allocations: 213.8 kB / 0.6864 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.3898, allocations: 31.98 kB / 0.6864 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.3899, allocations: 147.7 kB / 0.6865 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.3899, allocations: 31.48 kB / 0.6866 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.597e-05/0.3899, allocations: 39.7 kB / 0.6866 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.273e-05/0.39, allocations: 334.7 kB / 0.6869 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.3901, allocations: 43.14 kB / 0.687 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.3902, allocations: 87.14 kB / 0.687 GB, free: 472 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.3904, allocations: 96.47 kB / 0.6871 GB, free: 412 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3904, allocations: 0 / 0.6871 GB, free: 412 kB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002629/0.3907, allocations: 150.2 kB / 0.6873 GB, free: 324 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3907, allocations: 9.188 kB / 0.6873 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3907, allocations: 5.078 kB / 0.6873 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3907, allocations: 1.031 kB / 0.6873 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3908, allocations: 21.39 kB / 0.6873 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3908, allocations: 1.156 kB / 0.6873 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.3909, allocations: 29.22 kB / 0.6873 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.3909, allocations: 3.438 kB / 0.6873 GB, free: 292 kB / 0.4981 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 8.796e-05/0.391, allocations: 134 kB / 0.6875 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.3911, allocations: 21.34 kB / 0.6875 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.3914, allocations: 146.8 kB / 0.6876 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3914, allocations: 1.406 kB / 0.6876 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3914, allocations: 12.45 kB / 0.6876 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3914, allocations: 1.281 kB / 0.6876 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/0.3917, allocations: 275.7 kB / 0.6879 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3917, allocations: 1.062 kB / 0.6879 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.666e-05/0.3918, allocations: 18.2 kB / 0.6879 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3918, allocations: 9.219 kB / 0.6879 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.3918, allocations: 5.438 kB / 0.6879 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3918, allocations: 0 / 0.6879 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3918, allocations: 1.156 kB / 0.6879 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.3921, allocations: 228 kB / 0.6882 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.3922, allocations: 97.36 kB / 0.6883 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.3922, allocations: 3.156 kB / 0.6883 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.3924, allocations: 23.88 kB / 0.6883 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.656e-05/0.3925, allocations: 20.84 kB / 0.6883 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.3925, allocations: 7.578 kB / 0.6883 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001363/0.3926, allocations: 158.3 kB / 0.6885 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.3926, allocations: 0 / 0.6885 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002617/0.3929, allocations: 40.11 kB / 0.6885 GB, free: 15.29 MB / 0.5137 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.0006993/0.3936, allocations: 0.7793 MB / 0.6893 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002953/0.3939, allocations: 107.7 kB / 0.6894 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3939, allocations: 0 / 0.6894 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.394, allocations: 56.31 kB / 0.6894 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.3943, allocations: 20.7 kB / 0.6894 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.3968, allocations: 1.985 MB / 0.6914 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.3972, allocations: 0.7401 MB / 0.6921 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.021e-05/0.3973, allocations: 20.2 kB / 0.6921 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.3974, allocations: 61.34 kB / 0.6922 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.3974, allocations: 3.938 kB / 0.6922 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/0.424, allocations: 4.022 MB / 0.6961 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.819/8.243, allocations: 5.906 kB / 0.6961 GB, free: 10.11 MB / 0.5137 GB " [Timeout remaining time 652] (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 sys.exit(0), Time elapsed: 11.533898881170899] Failed to read output from testmodel.py, exit status != 0: 8.309592924080789 8.32249053 7.933589465 Calling exit ...