Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005435/0.005435, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001502/0.001502, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7762/0.7762, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002548/0.002548, allocations: 71.41 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1711, allocations: 80.21 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00367/0.1748, allocations: 2.031 MB / 0.6612 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.1759, allocations: 0.5688 MB / 0.6618 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.356e-05/0.176, allocations: 4 kB / 0.6618 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.1761, allocations: 27.72 kB / 0.6618 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.322e-05/0.1762, allocations: 31.62 kB / 0.6618 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.1766, allocations: 87.89 kB / 0.6619 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.1768, allocations: 224 kB / 0.6621 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.1771, allocations: 120.5 kB / 0.6622 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.1772, allocations: 87.64 kB / 0.6623 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.1773, allocations: 103.4 kB / 0.6624 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.1774, allocations: 24 kB / 0.6624 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.604e-05/0.1775, allocations: 32 kB / 0.6625 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.014e-05/0.1775, allocations: 63.75 kB / 0.6625 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.1777, allocations: 103.5 kB / 0.6626 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.178, allocations: 278.8 kB / 0.6629 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.178, allocations: 0 / 0.6629 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.178, allocations: 0 / 0.6629 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.178, allocations: 4 kB / 0.6629 GB, free: 10.19 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.000802/0.1788, allocations: 0.5217 MB / 0.6634 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1789, allocations: 8.031 kB / 0.6634 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.726e-05/0.1789, allocations: 54.73 kB / 0.6635 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.321e-05/0.179, allocations: 24.8 kB / 0.6635 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.1793, allocations: 260.6 kB / 0.6637 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.1794, allocations: 16.12 kB / 0.6637 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.1794, allocations: 20 kB / 0.6638 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004052/0.1798, allocations: 216.9 kB / 0.664 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1798, allocations: 0 / 0.664 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.1799, allocations: 8 kB / 0.664 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.1799, allocations: 4 kB / 0.664 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.1802, allocations: 147.7 kB / 0.6641 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009242/0.1811, allocations: 0.5897 MB / 0.6647 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.1815, allocations: 118.8 kB / 0.6648 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.1816, allocations: 48.84 kB / 0.6649 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.1817, allocations: 4.172 kB / 0.6649 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.1817, allocations: 46.44 kB / 0.6649 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1817, allocations: 3.938 kB / 0.6649 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004473/0.1822, allocations: 169.4 kB / 0.6651 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.089e-05/0.1823, allocations: 132.9 kB / 0.6652 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.1825, allocations: 211 kB / 0.6654 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.1825, allocations: 33.7 kB / 0.6654 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1827, allocations: 148.3 kB / 0.6656 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.1827, allocations: 35.69 kB / 0.6656 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.881e-05/0.1828, allocations: 41.69 kB / 0.6656 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.1829, allocations: 326.8 kB / 0.666 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.1831, allocations: 43.98 kB / 0.666 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.1832, allocations: 90 kB / 0.6661 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.1835, allocations: 95.38 kB / 0.6662 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1835, allocations: 0 / 0.6662 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003048/0.1838, allocations: 149.6 kB / 0.6663 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1838, allocations: 11.94 kB / 0.6663 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1838, allocations: 3.938 kB / 0.6663 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1838, allocations: 0 / 0.6663 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1839, allocations: 19.98 kB / 0.6664 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1839, allocations: 4.031 kB / 0.6664 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.1841, allocations: 31.86 kB / 0.6664 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.1841, allocations: 4 kB / 0.6664 GB, free: 6.312 MB / 0.4981 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.0001286/0.1843, allocations: 129.8 kB / 0.6665 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.1843, allocations: 19.84 kB / 0.6665 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003575/0.1847, allocations: 154.9 kB / 0.6667 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1847, allocations: 4 kB / 0.6667 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1847, allocations: 0 / 0.6667 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1847, allocations: 0 / 0.6667 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.185, allocations: 277.5 kB / 0.667 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.185, allocations: 0 / 0.667 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.26e-05/0.1851, allocations: 15.98 kB / 0.667 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1851, allocations: 3.938 kB / 0.667 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1851, allocations: 0 / 0.667 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1851, allocations: 3.984 kB / 0.667 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1851, allocations: 0 / 0.667 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.1855, allocations: 235.4 kB / 0.6672 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.1856, allocations: 101 kB / 0.6673 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.1856, allocations: 11.94 kB / 0.6673 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.1858, allocations: 11.98 kB / 0.6673 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.1858, allocations: 27.95 kB / 0.6673 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.1859, allocations: 8 kB / 0.6674 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001363/0.186, allocations: 156.5 kB / 0.6675 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.186, allocations: 0 / 0.6675 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002603/0.1863, allocations: 43.84 kB / 0.6675 GB, free: 5.039 MB / 0.4981 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.0006922/0.187, allocations: 0.7747 MB / 0.6683 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003197/0.1873, allocations: 111.9 kB / 0.6684 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1873, allocations: 0 / 0.6684 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.1874, allocations: 47.92 kB / 0.6685 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.1878, allocations: 23.98 kB / 0.6685 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.1902, allocations: 1.993 MB / 0.6704 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.1906, allocations: 0.7358 MB / 0.6711 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.959e-05/0.1906, allocations: 21.45 kB / 0.6712 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.1908, allocations: 63.41 kB / 0.6712 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1908, allocations: 0 / 0.6712 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.2154, allocations: 3.984 MB / 0.6751 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/7.889, allocations: 5.25 kB / 0.6751 GB, free: 13.35 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)