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.001311/0.001311, 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.001597/0.001597, allocations: 165.9 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.8918/0.8918, allocations: 177.1 MB / 202.8 MB, free: 5.766 MB / 186.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.6919/0.6919, allocations: 154.5 MB / 413.7 MB, free: 0.8438 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6181 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.887e-05/2.041e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002349/0.002369, allocations: 2.007 MB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008716/0.003241, allocations: 0.6194 MB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.654e-05/0.003338, allocations: 4 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.003448, allocations: 27.66 kB / 0.6207 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.982e-05/0.003508, allocations: 35.61 kB / 0.6207 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.003818, allocations: 107.8 kB / 0.6208 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.004016, allocations: 236 kB / 0.621 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.004179, allocations: 72.05 kB / 0.6211 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.004369, allocations: 143.6 kB / 0.6212 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.628e-05/0.004456, allocations: 75.77 kB / 0.6213 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.00448, allocations: 24 kB / 0.6213 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.309e-05/0.004543, allocations: 32 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.042e-05/0.004594, allocations: 59.75 kB / 0.6214 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.221e-05/0.004646, allocations: 71.83 kB / 0.6215 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.004895, allocations: 291 kB / 0.6217 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.004897, allocations: 4 kB / 0.6218 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.032e-06/0.004898, allocations: 0 / 0.6218 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.004902, allocations: 0 / 0.6218 GB, free: 9.941 MB / 0.5886 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.0005173/0.00542, allocations: 461.2 kB / 0.6222 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.005454, allocations: 9.469 kB / 0.6222 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.105e-05/0.005495, allocations: 50.73 kB / 0.6222 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.005669, allocations: 48.77 kB / 0.6223 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.005957, allocations: 201.3 kB / 0.6225 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.005976, allocations: 16.38 kB / 0.6225 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.005994, allocations: 20.31 kB / 0.6225 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.006275, allocations: 302.2 kB / 0.6228 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.006282, allocations: 192 / 0.6228 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.006299, allocations: 12.12 kB / 0.6228 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.006304, allocations: 4 kB / 0.6228 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.006482, allocations: 143.7 kB / 0.623 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006002/0.007083, allocations: 0.5069 MB / 0.6235 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.007309, allocations: 118.7 kB / 0.6236 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.435e-05/0.007373, allocations: 48.97 kB / 0.6236 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.00739, allocations: 4 kB / 0.6236 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.007409, allocations: 34.56 kB / 0.6237 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.00741, allocations: 0 / 0.6237 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0002748/0.007684, allocations: 165.5 kB / 0.6238 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.007734, allocations: 128.5 kB / 0.6239 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.007873, allocations: 223.1 kB / 0.6241 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.00789, allocations: 33.64 kB / 0.6242 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.007962, allocations: 148.4 kB / 0.6243 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.00798, allocations: 35.73 kB / 0.6244 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.008024, allocations: 41.7 kB / 0.6244 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.386e-05/0.008098, allocations: 326.8 kB / 0.6247 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.822e-05/0.008166, allocations: 47.97 kB / 0.6248 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.00827, allocations: 168.6 kB / 0.6249 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.008379, allocations: 81.62 kB / 0.625 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.008381, allocations: 0 / 0.625 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001709/0.008552, allocations: 157.5 kB / 0.6251 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.008564, allocations: 4 kB / 0.6251 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.008568, allocations: 0 / 0.6251 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.008581, allocations: 7.984 kB / 0.6252 GB, free: 6.176 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.432e-05/0.008636, allocations: 12 kB / 0.6252 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.008641, allocations: 3.984 kB / 0.6252 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.008706, allocations: 35.81 kB / 0.6252 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.008713, allocations: 4.031 kB / 0.6252 GB, free: 6.121 MB / 0.5886 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 9.181e-05/0.008805, allocations: 144.8 kB / 0.6253 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.008828, allocations: 19.94 kB / 0.6254 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.008858, allocations: 21.47 kB / 0.6254 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.00886, allocations: 0 / 0.6254 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.008864, allocations: 0 / 0.6254 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.008869, allocations: 11.92 kB / 0.6254 GB, free: 5.918 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.009039, allocations: 216.6 kB / 0.6256 GB, free: 5.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.009042, allocations: 4.375 kB / 0.6256 GB, free: 5.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.009081, allocations: 15.98 kB / 0.6256 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.009084, allocations: 4 kB / 0.6256 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.009094, allocations: 3.984 kB / 0.6256 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.009095, allocations: 3.938 kB / 0.6256 GB, free: 5.633 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.009096, allocations: 0 / 0.6256 GB, free: 5.633 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.009275, allocations: 223.3 kB / 0.6258 GB, free: 5.398 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/0.009293, allocations: 23.89 kB / 0.6259 GB, free: 5.375 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.009312, allocations: 0 / 0.6259 GB, free: 5.375 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.009387, allocations: 27.97 kB / 0.6259 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.009443, allocations: 23.95 kB / 0.6259 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.00945, allocations: 7.938 kB / 0.6259 GB, free: 5.316 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.509e-05/0.009535, allocations: 160.6 kB / 0.6261 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.009535, allocations: 0 / 0.6261 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001757/0.009711, allocations: 39.89 kB / 0.6261 GB, free: 5.121 MB / 0.5886 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.0003468/0.01006, allocations: 0.7669 MB / 0.6269 GB, free: 4.328 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001807/0.01024, allocations: 107.9 kB / 0.627 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.01024, allocations: 4 kB / 0.627 GB, free: 4.219 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.266e-05/0.0103, allocations: 43.98 kB / 0.627 GB, free: 4.176 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.01051, allocations: 28.97 kB / 0.627 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.01196, allocations: 2.009 MB / 0.629 GB, free: 2.055 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.683e-05/0.01204, allocations: 121.1 kB / 0.6291 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.431e-05/0.0121, allocations: 21.48 kB / 0.6291 GB, free: 1.891 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.927e-05/0.01217, allocations: 64.47 kB / 0.6292 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.01218, allocations: 0 / 0.6292 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.02926, allocations: 4.81 MB / 0.6339 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.903/6.933, allocations: 8.562 kB / 0.6339 GB, free: 13.27 MB / 0.6042 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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: 9.683920263312757] Failed to read output from testmodel.py, exit status != 0: 7.015465386211872 7.023968162 7.017243249 Calling exit ...