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.0007708/0.0007708, 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.0008446/0.0008446, 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.8929/0.8929, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7166/0.7166, allocations: 154.6 MB / 413.7 MB, free: 0.8516 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.332e-06/1.332e-06, allocations: 0 / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07e-05/1.203e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002026/0.002038, allocations: 2.011 MB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007192/0.002758, allocations: 0.6194 MB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.002859, allocations: 11.94 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.002982, allocations: 23.67 kB / 0.6207 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.683e-05/0.003039, allocations: 35.61 kB / 0.6207 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.003331, allocations: 99.75 kB / 0.6208 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.003678, allocations: 240 kB / 0.621 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.00388, allocations: 76.03 kB / 0.6211 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.004051, allocations: 139.6 kB / 0.6212 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.555e-05/0.004137, allocations: 79.75 kB / 0.6213 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.004162, allocations: 24 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.227e-05/0.004225, allocations: 36 kB / 0.6214 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.004275, allocations: 55.77 kB / 0.6214 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.004327, allocations: 63.83 kB / 0.6215 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.004569, allocations: 303 kB / 0.6218 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.004571, allocations: 0 / 0.6218 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004572, allocations: 0 / 0.6218 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.004576, allocations: 0 / 0.6218 GB, free: 9.934 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.0005054/0.005081, allocations: 463.6 kB / 0.6222 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.005115, allocations: 9.469 kB / 0.6222 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.9e-05/0.005154, allocations: 50.73 kB / 0.6223 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.005322, allocations: 48.77 kB / 0.6223 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.005569, allocations: 201.3 kB / 0.6225 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.005586, allocations: 16.38 kB / 0.6225 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.005605, allocations: 16.38 kB / 0.6225 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.00589, allocations: 302.2 kB / 0.6228 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.005897, allocations: 192 / 0.6228 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.005914, allocations: 16.11 kB / 0.6228 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.00592, allocations: 4 kB / 0.6228 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.006102, allocations: 147.6 kB / 0.623 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005894/0.006692, allocations: 0.5108 MB / 0.6235 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.006929, allocations: 110.7 kB / 0.6236 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.455e-05/0.006993, allocations: 52.77 kB / 0.6236 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.00701, allocations: 0 / 0.6236 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.007032, allocations: 38.56 kB / 0.6237 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.007033, allocations: 0 / 0.6237 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0003393/0.007372, allocations: 161.7 kB / 0.6238 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.007422, allocations: 136.5 kB / 0.624 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.007559, allocations: 219.1 kB / 0.6242 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.007578, allocations: 33.7 kB / 0.6242 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/0.00765, allocations: 144.4 kB / 0.6243 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.00767, allocations: 35.72 kB / 0.6244 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.007716, allocations: 37.7 kB / 0.6244 GB, free: 7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.047e-05/0.007796, allocations: 330.8 kB / 0.6247 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.184e-05/0.007868, allocations: 43.97 kB / 0.6248 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.007984, allocations: 169.4 kB / 0.6249 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.0081, allocations: 89.12 kB / 0.625 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.008103, allocations: 4 kB / 0.625 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002418/0.008345, allocations: 149.5 kB / 0.6252 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.008361, allocations: 8 kB / 0.6252 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.008365, allocations: 0 / 0.6252 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.008377, allocations: 32 / 0.6252 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.075e-05/0.008438, allocations: 19.98 kB / 0.6252 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.008443, allocations: 4 kB / 0.6252 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.851e-05/0.008512, allocations: 35.8 kB / 0.6252 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.008521, allocations: 8 kB / 0.6252 GB, free: 6.105 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 8.305e-05/0.008604, allocations: 136.6 kB / 0.6254 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.008628, allocations: 15.91 kB / 0.6254 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.008659, allocations: 29.45 kB / 0.6254 GB, free: 5.918 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.008661, allocations: 4 kB / 0.6254 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.008665, allocations: 0 / 0.6254 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.008668, allocations: 3.938 kB / 0.6254 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.008837, allocations: 216.6 kB / 0.6256 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.008838, allocations: 0 / 0.6256 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.985e-05/0.008878, allocations: 16.36 kB / 0.6256 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.008879, allocations: 0 / 0.6256 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.008889, allocations: 4 kB / 0.6256 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.008892, allocations: 7.984 kB / 0.6256 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.008893, allocations: 3.938 kB / 0.6256 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.009073, allocations: 227.3 kB / 0.6259 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.709e-05/0.00909, allocations: 15.89 kB / 0.6259 GB, free: 5.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.009111, allocations: 8 kB / 0.6259 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.122e-05/0.009182, allocations: 15.98 kB / 0.6259 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.009241, allocations: 27.95 kB / 0.6259 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.009251, allocations: 11.92 kB / 0.6259 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.153e-05/0.009332, allocations: 152.6 kB / 0.6261 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009332, allocations: 0 / 0.6261 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001713/0.009504, 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.000384/0.009888, allocations: 0.767 MB / 0.6269 GB, free: 4.328 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.0101, allocations: 111.8 kB / 0.627 GB, free: 4.219 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.0101, allocations: 0 / 0.627 GB, free: 4.219 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.169e-05/0.01017, allocations: 55.91 kB / 0.627 GB, free: 4.164 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.01038, allocations: 25.11 kB / 0.6271 GB, free: 4.137 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.01195, allocations: 2.005 MB / 0.629 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.304e-05/0.01203, allocations: 125.1 kB / 0.6291 GB, free: 1.906 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.883e-05/0.01209, allocations: 17.52 kB / 0.6291 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.433e-05/0.01218, allocations: 76.45 kB / 0.6292 GB, free: 1.812 MB / 0.5886 GB Notification: Performance of SimCode: time 3.8e-07/0.01218, allocations: 0 / 0.6292 GB, free: 1.812 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.02815, allocations: 4.799 MB / 0.6339 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.854/6.882, allocations: 3.25 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 & /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: 9.49741331115365] Failed to read output from testmodel.py, exit status != 0: 6.963093599304557 6.972223103 6.965976209 Calling exit ...