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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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=5000,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=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006564/0.006564, allocations: 101.1 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 189.5 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8589/0.8589, allocations: 135.6 MB / 426.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.98 kB / 0.5862 GB, free: 21.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1737, allocations: 81.02 MB / 0.6654 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003845/0.1776, allocations: 2.047 MB / 0.6673 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1791, allocations: 0.565 MB / 0.6679 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.1792, allocations: 4 kB / 0.6679 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.1794, allocations: 27.66 kB / 0.6679 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.516e-05/0.1796, allocations: 31.61 kB / 0.668 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.18, allocations: 79.91 kB / 0.668 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.1804, allocations: 231.9 kB / 0.6683 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003205/0.1807, allocations: 107.6 kB / 0.6684 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.1809, allocations: 95.62 kB / 0.6685 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.1811, allocations: 95.53 kB / 0.6685 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.981e-05/0.1811, allocations: 24 kB / 0.6686 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.1812, allocations: 35.94 kB / 0.6686 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.1814, allocations: 55.83 kB / 0.6687 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.1815, allocations: 107.5 kB / 0.6688 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004666/0.182, allocations: 278.8 kB / 0.669 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.182, allocations: 4 kB / 0.669 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.617e-06/0.182, allocations: 3.938 kB / 0.669 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.182, allocations: 0 / 0.669 GB, free: 1.371 MB / 0.4981 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.0009761/0.183, allocations: 0.5217 MB / 0.6695 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.1831, allocations: 9.109 kB / 0.6695 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.637e-05/0.1831, allocations: 24.8 kB / 0.6696 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.1835, allocations: 264.5 kB / 0.6698 GB, free: 480 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.1836, allocations: 16.38 kB / 0.6698 GB, free: 464 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.1836, allocations: 19.94 kB / 0.6699 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/0.184, allocations: 217 kB / 0.6701 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1841, allocations: 0 / 0.6701 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.1841, allocations: 19.92 kB / 0.6701 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1841, allocations: 4 kB / 0.6701 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003162/0.1844, allocations: 147.5 kB / 0.6702 GB, free: 36 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009906/0.1854, allocations: 0.582 MB / 0.6708 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.1859, allocations: 126.7 kB / 0.6709 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.186, allocations: 44.84 kB / 0.671 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-05/0.1861, allocations: 8 kB / 0.671 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.1861, allocations: 34.56 kB / 0.671 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.1861, allocations: 0 / 0.671 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0005281/0.1867, allocations: 173.6 kB / 0.6712 GB, free: 15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.1868, allocations: 132.5 kB / 0.6713 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.187, allocations: 211.1 kB / 0.6715 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.1871, allocations: 29.7 kB / 0.6715 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.1872, allocations: 152.3 kB / 0.6717 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.1873, allocations: 35.73 kB / 0.6717 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.954e-05/0.1873, allocations: 33.7 kB / 0.6717 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.1875, allocations: 330.8 kB / 0.6721 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.1877, allocations: 47.92 kB / 0.6721 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.1878, allocations: 84.27 kB / 0.6722 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.1881, allocations: 89.69 kB / 0.6723 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1881, allocations: 4 kB / 0.6723 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003151/0.1884, allocations: 157.5 kB / 0.6724 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1884, allocations: 7.938 kB / 0.6724 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1885, allocations: 0 / 0.6724 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.1885, allocations: 4 kB / 0.6724 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1886, allocations: 20.02 kB / 0.6724 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1886, allocations: 3.938 kB / 0.6724 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.1888, allocations: 31.86 kB / 0.6725 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.1888, allocations: 4 kB / 0.6725 GB, free: 13.55 MB / 0.5137 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.0001316/0.1889, allocations: 133.8 kB / 0.6726 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.189, allocations: 19.84 kB / 0.6726 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/0.1893, allocations: 151.3 kB / 0.6728 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1894, allocations: 96 / 0.6728 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1894, allocations: 3.938 kB / 0.6728 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1894, allocations: 0 / 0.6728 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.1897, allocations: 277.5 kB / 0.673 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1897, allocations: 0 / 0.673 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.336e-05/0.1898, allocations: 15.98 kB / 0.6731 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.1898, allocations: 3.938 kB / 0.6731 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1898, allocations: 0 / 0.6731 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/0.1898, allocations: 8 kB / 0.6731 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1899, allocations: 0 / 0.6731 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.1902, allocations: 227.3 kB / 0.6733 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.677e-05/0.1903, allocations: 92.95 kB / 0.6734 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.1903, allocations: 19.86 kB / 0.6734 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.1905, allocations: 19.98 kB / 0.6734 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.1906, allocations: 31.89 kB / 0.6734 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.1906, allocations: 4 kB / 0.6734 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001354/0.1907, allocations: 152.5 kB / 0.6736 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1907, allocations: 0 / 0.6736 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002897/0.191, allocations: 43.89 kB / 0.6736 GB, free: 12.28 MB / 0.5137 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.0001927/0.1912, allocations: 107.2 kB / 0.6737 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003321/0.1916, allocations: 115.1 kB / 0.6738 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1916, allocations: 0 / 0.6738 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.1917, allocations: 55.92 kB / 0.6739 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.1921, allocations: 24.2 kB / 0.6739 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006927/0.1928, allocations: 320.7 kB / 0.6742 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.1932, allocations: 0.7362 MB / 0.6749 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.995e-05/0.1933, allocations: 21.42 kB / 0.675 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.178e-05/0.1934, allocations: 23.42 kB / 0.675 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1934, allocations: 0 / 0.675 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of Templates: time 0.005912/0.1993, allocations: 2.18 MB / 0.6771 GB, free: 8.668 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (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)