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.0006564/0.0006564, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008676/0.001524, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001061/0.001061, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008738/0.001935, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.004/1.004, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07878/1.083, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42: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 4.0.0-master/package.mo): time 0.7649/0.7649, allocations: 155.3 MB / 399.2 MB, free: 15.94 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2592/1.024, allocations: 49.13 MB / 448.4 MB, free: 6.016 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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: translateModel(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 449.7 MB, free: 4.727 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041e-05/1.146e-05, allocations: 3.953 kB / 449.7 MB, free: 4.723 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002074/0.002086, allocations: 2.11 MB / 451.8 MB, free: 2.641 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007332/0.002819, allocations: 0.664 MB / 452.5 MB, free: 1.98 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.145e-05/0.00289, allocations: 7.938 kB / 452.5 MB, free: 1.973 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.802e-05/0.002948, allocations: 20.98 kB / 452.5 MB, free: 1.953 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.261e-05/0.003011, allocations: 47.38 kB / 452.5 MB, free: 1.922 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.003185, allocations: 91.83 kB / 452.6 MB, free: 1.832 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.003361, allocations: 228 kB / 452.9 MB, free: 1.609 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.003495, allocations: 86.59 kB / 452.9 MB, free: 1.523 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.003675, allocations: 172.2 kB / 453.1 MB, free: 1.359 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.976e-05/0.003755, allocations: 63.78 kB / 453.2 MB, free: 1.297 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.003779, allocations: 25 kB / 453.2 MB, free: 1.273 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.326e-05/0.003852, allocations: 28 kB / 453.2 MB, free: 1.246 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.186e-05/0.003894, allocations: 43.81 kB / 453.3 MB, free: 1.203 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.003938, allocations: 52.75 kB / 453.3 MB, free: 1.152 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.004103, allocations: 147.4 kB / 453.5 MB, free: 1.008 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.227e-05/0.004116, allocations: 0.5 kB / 453.5 MB, free: 1.008 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.004116, allocations: 0 / 453.5 MB, free: 1.008 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.00413, allocations: 0.5 kB / 453.5 MB, free: 1.008 MB / 426.7 MB 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.0004695/0.004599, allocations: 477 kB / 453.9 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.427e-05/0.004624, allocations: 8.031 kB / 453.9 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.004833, allocations: 134.7 kB / 454.1 MB, free: 376 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.005002, allocations: 185.1 kB / 454.3 MB, free: 168 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.005019, allocations: 16.31 kB / 454.3 MB, free: 152 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.005036, allocations: 20.38 kB / 454.3 MB, free: 132 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.005278, allocations: 256.6 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.005287, allocations: 0.75 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.0053, allocations: 8.375 kB / 454.5 MB, free: 15.83 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.005308, allocations: 8.562 kB / 454.6 MB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.642e-05/0.005374, allocations: 42.81 kB / 454.6 MB, free: 15.78 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.005782, allocations: 354.6 kB / 454.9 MB, free: 15.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.005896, allocations: 64.56 kB / 455 MB, free: 15.35 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.005923, allocations: 20.8 kB / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.005936, allocations: 4 kB / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.005956, allocations: 34.56 kB / 455.1 MB, free: 15.28 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.005957, allocations: 0.9688 kB / 455.1 MB, free: 15.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001278/0.006085, allocations: 77.59 kB / 455.1 MB, free: 15.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.006112, allocations: 56.84 kB / 455.2 MB, free: 15.13 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.947e-05/0.006212, allocations: 182.5 kB / 455.4 MB, free: 14.94 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.00623, allocations: 33.64 kB / 455.4 MB, free: 14.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.006289, allocations: 145.8 kB / 455.6 MB, free: 14.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.00631, allocations: 32.58 kB / 455.6 MB, free: 14.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.006349, allocations: 41.69 kB / 455.6 MB, free: 14.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.311e-05/0.006423, allocations: 339.4 kB / 456 MB, free: 14.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.006441, allocations: 8 kB / 456 MB, free: 14.33 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.749e-05/0.006499, allocations: 130.2 kB / 456.1 MB, free: 14.17 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.582e-05/0.006545, allocations: 46.3 kB / 456.1 MB, free: 14.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006546, allocations: 0 / 456.1 MB, free: 14.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 7.985e-05/0.006626, allocations: 84.09 kB / 456.2 MB, free: 14.03 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.006636, allocations: 4 kB / 456.2 MB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.006639, allocations: 3.938 kB / 456.2 MB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.006648, allocations: 6.094 kB / 456.2 MB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.065e-05/0.006709, allocations: 19.92 kB / 456.3 MB, free: 14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.006712, allocations: 0 / 456.3 MB, free: 14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.727e-05/0.006749, allocations: 8 kB / 456.3 MB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.006756, allocations: 11.98 kB / 456.3 MB, free: 13.98 MB / 442.7 MB 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.513e-05/0.006822, allocations: 121.5 kB / 456.4 MB, free: 13.85 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.006842, allocations: 13.17 kB / 456.4 MB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.00687, allocations: 24.56 kB / 456.4 MB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.006873, allocations: 4 kB / 456.4 MB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.006874, allocations: 0.625 kB / 456.4 MB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.006878, allocations: 3.984 kB / 456.4 MB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.006996, allocations: 122.3 kB / 456.6 MB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.006999, allocations: 7.922 kB / 456.6 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-05/0.007036, allocations: 20.59 kB / 456.6 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.00705, allocations: 16.42 kB / 456.6 MB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.007051, allocations: 0 / 456.6 MB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.007056, allocations: 0.5625 kB / 456.6 MB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.007056, allocations: 0.625 kB / 456.6 MB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.007057, allocations: 0 / 456.6 MB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.491e-05/0.007152, allocations: 172.2 kB / 456.8 MB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.00717, allocations: 8 kB / 456.8 MB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.565e-05/0.007216, allocations: 9.219 kB / 456.8 MB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.007263, allocations: 27.94 kB / 456.8 MB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.007266, allocations: 0 / 456.8 MB, free: 13.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.377e-05/0.0073, allocations: 52.66 kB / 456.9 MB, free: 13.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0073, allocations: 0 / 456.9 MB, free: 13.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001338/0.007434, allocations: 32.8 kB / 456.9 MB, free: 13.32 MB / 442.7 MB 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 6.6e-05/0.0075, allocations: 89.41 kB / 457 MB, free: 13.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.132e-05/0.007591, allocations: 53.39 kB / 457 MB, free: 13.17 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.007598, allocations: 8 kB / 457 MB, free: 13.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.165e-05/0.00763, allocations: 30.09 kB / 457.1 MB, free: 13.13 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.007779, allocations: 35.92 kB / 457.1 MB, free: 13.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.009004, allocations: 335.2 kB / 457.4 MB, free: 12.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.872e-05/0.009042, allocations: 71.83 kB / 457.5 MB, free: 12.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.623e-05/0.009099, allocations: 21.11 kB / 457.5 MB, free: 12.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.826e-05/0.009187, allocations: 87.34 kB / 457.6 MB, free: 12.55 MB / 442.7 MB Notification: Performance of SimCode: time 6.91e-07/0.009188, allocations: 0 / 457.6 MB, free: 12.55 MB / 442.7 MB Notification: Performance of Templates: time 0.003588/0.01278, allocations: 2.205 MB / 459.8 MB, free: 10.56 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5079008927568793]