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.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.001683/0.001683, allocations: 110 kB / 18.94 MB, free: 2.809 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.002231/0.002231, allocations: 192.4 kB / 22.23 MB, free: 5.207 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.527/1.527, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.114/1.114, allocations: 177.9 MB / 484.2 MB, free: 5.379 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: 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 0.002034/0.002034, allocations: 69.02 kB / 0.674 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5697/0.5717, allocations: 95.17 MB / 0.7669 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003245/0.5749, allocations: 2.057 MB / 0.7689 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.576, allocations: 0.5731 MB / 0.7695 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.5761, allocations: 7.781 kB / 0.7695 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.5762, allocations: 29.52 kB / 0.7695 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.699e-05/0.5763, allocations: 34.02 kB / 0.7696 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.5766, allocations: 83.44 kB / 0.7696 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.5769, allocations: 231.6 kB / 0.7699 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.5771, allocations: 90.81 kB / 0.77 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.5772, allocations: 92.98 kB / 0.77 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.5773, allocations: 103.3 kB / 0.7701 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.585e-05/0.5774, allocations: 28.75 kB / 0.7702 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-05/0.5775, allocations: 30.14 kB / 0.7702 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.528e-05/0.5775, allocations: 52.08 kB / 0.7702 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.818e-05/0.5776, allocations: 115.9 kB / 0.7704 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.578, allocations: 277.7 kB / 0.7706 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.578, allocations: 0 / 0.7706 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.024e-06/0.578, allocations: 4.781 kB / 0.7706 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.578, allocations: 0 / 0.7706 GB, free: 5.824 MB / 0.5762 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.0007767/0.5788, allocations: 454.7 kB / 0.7711 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.5788, allocations: 9.406 kB / 0.7711 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.297e-05/0.5789, allocations: 29.78 kB / 0.7711 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.5792, allocations: 193.2 kB / 0.7713 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.5792, allocations: 11.72 kB / 0.7713 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.5792, allocations: 23.62 kB / 0.7713 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.5796, allocations: 227.6 kB / 0.7715 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.5796, allocations: 0.8125 kB / 0.7715 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.5797, allocations: 5.719 kB / 0.7715 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-06/0.5797, allocations: 4.062 kB / 0.7715 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003216/0.58, allocations: 141.4 kB / 0.7717 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008963/0.5809, allocations: 0.5543 MB / 0.7722 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.5813, allocations: 116.5 kB / 0.7723 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.5814, allocations: 53.33 kB / 0.7724 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.5814, allocations: 2.031 kB / 0.7724 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.5814, allocations: 37.23 kB / 0.7724 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.5814, allocations: 0.9062 kB / 0.7724 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0004595/0.5819, allocations: 175.6 kB / 0.7726 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.5819, allocations: 136 kB / 0.7727 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.5821, allocations: 215.5 kB / 0.7729 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.5821, allocations: 32.27 kB / 0.773 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.482e-05/0.5822, allocations: 144 kB / 0.7731 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.5822, allocations: 33 kB / 0.7731 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.429e-05/0.5823, allocations: 40.16 kB / 0.7732 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.03e-05/0.5823, allocations: 327.9 kB / 0.7735 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.5825, allocations: 45 kB / 0.7735 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.5826, allocations: 85.66 kB / 0.7736 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.5828, allocations: 98.73 kB / 0.7737 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5828, allocations: 0.625 kB / 0.7737 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003001/0.5831, allocations: 154.3 kB / 0.7738 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.5831, allocations: 9.469 kB / 0.7739 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.5831, allocations: 0.7031 kB / 0.7739 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.5831, allocations: 1.844 kB / 0.7739 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.5833, allocations: 21.36 kB / 0.7739 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.5833, allocations: 1.281 kB / 0.7739 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.5834, allocations: 27.66 kB / 0.7739 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.5834, allocations: 4.875 kB / 0.7739 GB, free: 3.414 MB / 0.5762 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.818e-05/0.5835, allocations: 139 kB / 0.774 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.5836, allocations: 24.33 kB / 0.7741 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003274/0.5839, allocations: 144.4 kB / 0.7742 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5839, allocations: 4.781 kB / 0.7742 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.5839, allocations: 0 / 0.7742 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5839, allocations: 2.094 kB / 0.7742 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.5842, allocations: 237.8 kB / 0.7744 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.5842, allocations: 4 kB / 0.7744 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.818e-05/0.5843, allocations: 20.34 kB / 0.7745 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5843, allocations: 5.594 kB / 0.7745 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.5843, allocations: 9.344 kB / 0.7745 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5843, allocations: 0 / 0.7745 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5843, allocations: 48 / 0.7745 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.5846, allocations: 234.3 kB / 0.7747 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.828e-05/0.5846, allocations: 20.83 kB / 0.7747 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.5847, allocations: 10.41 kB / 0.7747 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.5848, allocations: 18.16 kB / 0.7747 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.542e-05/0.5849, allocations: 25.83 kB / 0.7748 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.5849, allocations: 2.719 kB / 0.7748 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001281/0.585, allocations: 155.3 kB / 0.7749 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.585, allocations: 0 / 0.7749 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002767/0.5853, allocations: 37.45 kB / 0.775 GB, free: 2.668 MB / 0.5762 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.0001421/0.5855, allocations: 112.4 kB / 0.7751 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003451/0.5858, allocations: 104.1 kB / 0.7752 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5858, allocations: 3.938 kB / 0.7752 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.586, allocations: 52.28 kB / 0.7752 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.5863, allocations: 22.7 kB / 0.7752 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006051/0.5869, allocations: 333.8 kB / 0.7756 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.5871, allocations: 0.7354 MB / 0.7763 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.967e-05/0.5872, allocations: 25.27 kB / 0.7763 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.551e-05/0.5873, allocations: 19.14 kB / 0.7763 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.5873, allocations: 0 / 0.7763 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of Templates: time 0.006868/0.5941, allocations: 2.236 MB / 0.7785 GB, free: 1.375 MB / 0.5762 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.54577368311584] Failed to read output from testmodel.py, exit status != 0: 0.6021413188427687 0.616829112 0.035598626 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7a3caa17b0>