Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001161/0.001161, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.001367/0.001367, allocations: 218.3 kB / 22.26 MB, free: 3.695 MB / 13.93 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.9788/0.9788, allocations: 230.6 MB / 256 MB, free: 9.641 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7878/0.7878, allocations: 203.8 MB / 0.5042 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0008883/0.0008883, allocations: 63.88 kB / 0.7183 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5141/0.515, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002671/0.5176, allocations: 2.093 MB / 0.8199 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.5186, allocations: 0.6529 MB / 0.8206 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.5188, allocations: 11.66 kB / 0.8206 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.5189, allocations: 24.72 kB / 0.8206 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.903e-05/0.519, allocations: 33.48 kB / 0.8206 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.5193, allocations: 105 kB / 0.8207 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.5196, allocations: 230.2 kB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.5198, allocations: 83.2 kB / 0.821 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.52, allocations: 100.8 kB / 0.8211 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.5202, allocations: 107.9 kB / 0.8212 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.5202, allocations: 25.47 kB / 0.8212 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.098e-05/0.5203, allocations: 42.17 kB / 0.8213 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.097e-05/0.5203, allocations: 53.02 kB / 0.8213 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.939e-05/0.5204, allocations: 107 kB / 0.8214 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.5208, allocations: 282.5 kB / 0.8217 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5208, allocations: 0 / 0.8217 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5208, allocations: 3.938 kB / 0.8217 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.5208, allocations: 0 / 0.8217 GB, free: 14.7 MB / 0.6198 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.000626/0.5214, allocations: 470.1 kB / 0.8222 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5215, allocations: 7.906 kB / 0.8222 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.5215, allocations: 49.33 kB / 0.8222 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.5217, allocations: 49.14 kB / 0.8223 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.5221, allocations: 208.1 kB / 0.8225 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.5221, allocations: 25.81 kB / 0.8225 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.5221, allocations: 13.47 kB / 0.8225 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.5224, allocations: 229 kB / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5224, allocations: 0 / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.5225, allocations: 7 kB / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.5225, allocations: 5.031 kB / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.5227, allocations: 140.9 kB / 0.8229 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007993/0.5235, allocations: 0.5553 MB / 0.8234 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.5237, allocations: 115.9 kB / 0.8235 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.258e-05/0.5238, allocations: 47.8 kB / 0.8236 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.5238, allocations: 1.438 kB / 0.8236 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.5238, allocations: 36.06 kB / 0.8236 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/0.5238, allocations: 0 / 0.8236 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003331/0.5242, allocations: 174.5 kB / 0.8238 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.5242, allocations: 130.4 kB / 0.8239 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.5244, allocations: 215 kB / 0.8241 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.5245, allocations: 32.97 kB / 0.8241 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/0.5245, allocations: 152.2 kB / 0.8243 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.5246, allocations: 26.89 kB / 0.8243 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/0.5246, allocations: 39.48 kB / 0.8243 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.537e-05/0.5247, allocations: 332.9 kB / 0.8247 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.275e-05/0.5248, allocations: 41.95 kB / 0.8247 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.7e-05/0.5249, allocations: 82.3 kB / 0.8248 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.525, allocations: 98.2 kB / 0.8249 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.525, allocations: 0 / 0.8249 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002118/0.5252, allocations: 154.3 kB / 0.825 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.5253, allocations: 5.391 kB / 0.825 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.5253, allocations: 1.188 kB / 0.825 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.5253, allocations: 5.094 kB / 0.825 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.555e-05/0.5254, allocations: 16.03 kB / 0.825 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.5254, allocations: 1.656 kB / 0.825 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.489e-05/0.5255, allocations: 31.86 kB / 0.8251 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.5255, allocations: 4.609 kB / 0.8251 GB, free: 12.23 MB / 0.6198 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.000116/0.5256, allocations: 138.9 kB / 0.8252 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.5256, allocations: 21.44 kB / 0.8252 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.5257, allocations: 24.06 kB / 0.8253 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5257, allocations: 5.469 kB / 0.8253 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.5257, allocations: 4.703 kB / 0.8253 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5257, allocations: 1.984 kB / 0.8253 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.5259, allocations: 248.1 kB / 0.8255 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5259, allocations: 0 / 0.8255 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.674e-05/0.526, allocations: 14.5 kB / 0.8255 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.526, allocations: 1.344 kB / 0.8255 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.526, allocations: 6.141 kB / 0.8255 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.676e-06/0.526, allocations: 4.812 kB / 0.8255 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.526, allocations: 1.5 kB / 0.8255 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.5262, allocations: 234.1 kB / 0.8257 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.5263, allocations: 13.64 kB / 0.8258 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.5263, allocations: 7.297 kB / 0.8258 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.587e-05/0.5264, allocations: 25.48 kB / 0.8258 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.427e-05/0.5265, allocations: 25.05 kB / 0.8258 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.5265, allocations: 3.453 kB / 0.8258 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001154/0.5266, allocations: 157.5 kB / 0.826 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5266, allocations: 0 / 0.826 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002116/0.5268, allocations: 43.58 kB / 0.826 GB, free: 11.54 MB / 0.6198 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.0005024/0.5273, allocations: 0.766 MB / 0.8268 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002699/0.5276, allocations: 105.2 kB / 0.8269 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5276, allocations: 1.375 kB / 0.8269 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.294e-05/0.5277, allocations: 47.91 kB / 0.8269 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.5279, allocations: 36.81 kB / 0.8269 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.5299, allocations: 2.002 MB / 0.8289 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.5302, allocations: 0.7327 MB / 0.8296 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.619e-05/0.5303, allocations: 14.72 kB / 0.8296 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.5304, allocations: 66.19 kB / 0.8297 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of SimCode: time 1.914e-06/0.5304, allocations: 1 kB / 0.8297 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.5539, allocations: 4.125 MB / 0.8337 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.153/7.707, allocations: 5.625 kB / 0.8337 GB, free: 7.953 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.603804335929453] Failed to read output from testmodel.py, exit status != 0: 7.788280519889668 7.798240392 7.275633145 Calling exit ...