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.002022/0.002022, allocations: 105.7 kB / 16.41 MB, free: 6.516 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.001966/0.001966, allocations: 187 kB / 17.34 MB, free: 5.734 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.479/1.479, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8638/0.8638, allocations: 135.2 MB / 426.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 71.59 kB / 0.5863 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1756, allocations: 80.93 MB / 0.6654 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003593/0.1792, allocations: 2.032 MB / 0.6674 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.1804, allocations: 0.5726 MB / 0.6679 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.056e-05/0.1805, allocations: 4 kB / 0.6679 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.1806, allocations: 23.67 kB / 0.6679 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.728e-05/0.1807, allocations: 35.66 kB / 0.668 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.1811, allocations: 83.86 kB / 0.6681 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.1814, allocations: 231.9 kB / 0.6683 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.1816, allocations: 87.62 kB / 0.6684 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.1818, allocations: 87.69 kB / 0.6684 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.1819, allocations: 99.48 kB / 0.6685 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.182, allocations: 31.94 kB / 0.6686 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.934e-05/0.1821, allocations: 31.98 kB / 0.6686 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.279e-05/0.1822, allocations: 51.83 kB / 0.6687 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.1823, allocations: 103.5 kB / 0.6687 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004196/0.1827, allocations: 286.8 kB / 0.669 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1827, allocations: 0 / 0.669 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.314e-06/0.1827, allocations: 0 / 0.669 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.1827, allocations: 0 / 0.669 GB, free: 1.969 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.0009351/0.1837, allocations: 0.5218 MB / 0.6695 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1837, allocations: 9.109 kB / 0.6695 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.344e-05/0.1838, allocations: 28.8 kB / 0.6696 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.1842, allocations: 273 kB / 0.6698 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.1842, allocations: 12.38 kB / 0.6698 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.1842, allocations: 19.94 kB / 0.6699 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.1846, allocations: 213 kB / 0.6701 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1847, allocations: 0 / 0.6701 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.1847, allocations: 16 kB / 0.6701 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.1847, allocations: 4 kB / 0.6701 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003604/0.1851, allocations: 147.4 kB / 0.6702 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.1861, allocations: 0.586 MB / 0.6708 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003978/0.1865, allocations: 122.7 kB / 0.6709 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.1866, allocations: 40.84 kB / 0.671 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.097e-05/0.1867, allocations: 0 / 0.671 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.1867, allocations: 42.56 kB / 0.671 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 3.276e-06/0.1867, allocations: 3.984 kB / 0.671 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0005061/0.1872, allocations: 177.5 kB / 0.6712 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.1873, allocations: 132.5 kB / 0.6713 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.1875, allocations: 207.2 kB / 0.6715 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.1876, allocations: 33.7 kB / 0.6715 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.1877, allocations: 148.2 kB / 0.6717 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.1877, allocations: 39.73 kB / 0.6717 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-05/0.1878, allocations: 33.7 kB / 0.6717 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.188, allocations: 326.8 kB / 0.672 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.1881, allocations: 47.97 kB / 0.6721 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.1883, allocations: 91.7 kB / 0.6722 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.1885, allocations: 85.69 kB / 0.6723 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1885, allocations: 0 / 0.6723 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003556/0.1889, allocations: 157.5 kB / 0.6724 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.1889, allocations: 11.92 kB / 0.6724 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1889, allocations: 0 / 0.6724 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.1889, allocations: 0 / 0.6724 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.189, allocations: 24.02 kB / 0.6724 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.189, allocations: 0 / 0.6724 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.1892, allocations: 27.88 kB / 0.6725 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.1892, allocations: 4 kB / 0.6725 GB, free: 14.16 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.0001614/0.1894, allocations: 137.8 kB / 0.6726 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.1895, allocations: 23.84 kB / 0.6726 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/0.1898, allocations: 147 kB / 0.6728 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1898, allocations: 0 / 0.6728 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1899, allocations: 0 / 0.6728 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1899, allocations: 3.984 kB / 0.6728 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.1902, allocations: 277.5 kB / 0.673 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1902, allocations: 0 / 0.673 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.925e-05/0.1903, allocations: 15.98 kB / 0.6731 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.1903, allocations: 4.406 kB / 0.6731 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.1903, allocations: 4 kB / 0.6731 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1903, allocations: 4 kB / 0.6731 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1903, allocations: 4 kB / 0.6731 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.1907, allocations: 235.2 kB / 0.6733 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.21e-05/0.1908, allocations: 92.95 kB / 0.6734 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.1908, allocations: 11.94 kB / 0.6734 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.191, allocations: 23.97 kB / 0.6734 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.703e-05/0.1911, allocations: 19.97 kB / 0.6734 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.1911, allocations: 7.984 kB / 0.6734 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001567/0.1913, allocations: 156.5 kB / 0.6736 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1913, allocations: 0 / 0.6736 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002919/0.1916, allocations: 39.89 kB / 0.6736 GB, free: 12.88 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.0001754/0.1917, allocations: 107.2 kB / 0.6737 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003453/0.1921, allocations: 111.9 kB / 0.6738 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1921, allocations: 0 / 0.6738 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.1922, allocations: 51.92 kB / 0.6739 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.1926, allocations: 26.05 kB / 0.6739 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007153/0.1933, allocations: 346.4 kB / 0.6742 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.1937, allocations: 0.74 MB / 0.675 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.5e-05/0.1938, allocations: 19.42 kB / 0.675 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.1938, allocations: 4.281 kB / 0.675 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of Templates: time 0.004891/0.1987, allocations: 2.399 MB / 0.6773 GB, free: 9.027 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)