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.001316/0.001316, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7382/0.7382, allocations: 132.2 MB / 422.6 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 55.97 kB / 0.5019 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3612, allocations: 80.21 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003635/0.3649, allocations: 2.024 MB / 0.5822 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.3661, allocations: 0.5739 MB / 0.5827 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.3663, allocations: 3.031 kB / 0.5827 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.3664, allocations: 28.75 kB / 0.5828 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.3666, allocations: 30.94 kB / 0.5828 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.3669, allocations: 83.97 kB / 0.5829 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000263/0.3672, allocations: 228.7 kB / 0.5831 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.3674, allocations: 116.9 kB / 0.5832 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.3676, allocations: 92.02 kB / 0.5833 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.3678, allocations: 100 kB / 0.5834 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.192e-05/0.3679, allocations: 23.16 kB / 0.5834 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.531e-05/0.368, allocations: 30.28 kB / 0.5834 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.044e-05/0.368, allocations: 52.14 kB / 0.5835 GB, free: 2.328 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3682, allocations: 110.7 kB / 0.5836 GB, free: 2.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.3685, allocations: 265 kB / 0.5839 GB, free: 2.141 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3685, allocations: 4.594 kB / 0.5839 GB, free: 2.137 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3686, allocations: 5.062 kB / 0.5839 GB, free: 2.133 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.3686, allocations: 0 / 0.5839 GB, free: 2.133 MB / 430.1 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.0008472/0.3694, allocations: 0.5154 MB / 0.5844 GB, free: 1.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3695, allocations: 9.5 kB / 0.5844 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.601e-05/0.3695, allocations: 52.02 kB / 0.5844 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.274e-05/0.3696, allocations: 26.7 kB / 0.5845 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.3699, allocations: 260.8 kB / 0.5847 GB, free: 1.363 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.37, allocations: 19.19 kB / 0.5847 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.37, allocations: 20.72 kB / 0.5847 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.3705, allocations: 218.8 kB / 0.5849 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3705, allocations: 0 / 0.5849 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.3705, allocations: 5.812 kB / 0.585 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3705, allocations: 9.203 kB / 0.585 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/0.3708, allocations: 142.9 kB / 0.5851 GB, free: 1.168 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009211/0.3718, allocations: 0.5892 MB / 0.5857 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.3721, allocations: 125.2 kB / 0.5858 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.3723, allocations: 49.44 kB / 0.5858 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.3723, allocations: 2.5 kB / 0.5858 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.3723, allocations: 32.45 kB / 0.5859 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.3723, allocations: 0 / 0.5859 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004543/0.3728, allocations: 180 kB / 0.586 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.3728, allocations: 131.7 kB / 0.5862 GB, free: 392 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.373, allocations: 214.7 kB / 0.5864 GB, free: 244 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.373, allocations: 32.45 kB / 0.5864 GB, free: 208 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.079e-05/0.3731, allocations: 144.6 kB / 0.5865 GB, free: 80 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.3732, allocations: 34.22 kB / 0.5866 GB, free: 52 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-05/0.3732, allocations: 38.94 kB / 0.5866 GB, free: 24 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3734, allocations: 328.2 kB / 0.5869 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.3735, allocations: 47.08 kB / 0.587 GB, free: 15.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.3737, allocations: 84.83 kB / 0.5871 GB, free: 15.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.3739, allocations: 89.91 kB / 0.5871 GB, free: 15.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3739, allocations: 4 kB / 0.5871 GB, free: 15.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003208/0.3742, allocations: 155.7 kB / 0.5873 GB, free: 15.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3743, allocations: 8.656 kB / 0.5873 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3743, allocations: 0.5625 kB / 0.5873 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3743, allocations: 1.594 kB / 0.5873 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.3744, allocations: 21 kB / 0.5873 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3744, allocations: 1.219 kB / 0.5873 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.3746, allocations: 32.08 kB / 0.5874 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.3746, allocations: 11.86 kB / 0.5874 GB, free: 15.48 MB / 446.1 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 0.000135/0.3748, allocations: 132 kB / 0.5875 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.3748, allocations: 20.56 kB / 0.5875 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.3752, allocations: 144.9 kB / 0.5876 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3752, allocations: 1.531 kB / 0.5876 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.3752, allocations: 5.609 kB / 0.5877 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3752, allocations: 0.7969 kB / 0.5877 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/0.3756, allocations: 272.4 kB / 0.5879 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3756, allocations: 0 / 0.5879 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.521e-05/0.3757, allocations: 14.77 kB / 0.5879 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.3757, allocations: 6.562 kB / 0.5879 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.3757, allocations: 6.797 kB / 0.5879 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3757, allocations: 0.6562 kB / 0.5879 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3757, allocations: 0 / 0.5879 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.3761, allocations: 231.4 kB / 0.5882 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/0.3762, allocations: 102.3 kB / 0.5883 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.3762, allocations: 7.781 kB / 0.5883 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.3764, allocations: 21.75 kB / 0.5883 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.824e-05/0.3765, allocations: 23.25 kB / 0.5883 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.3765, allocations: 5.328 kB / 0.5883 GB, free: 14.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.3767, allocations: 158.1 kB / 0.5885 GB, free: 14.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3767, allocations: 0 / 0.5885 GB, free: 14.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003026/0.377, allocations: 40.94 kB / 0.5885 GB, free: 14.61 MB / 446.1 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 0.0008241/0.3778, allocations: 0.7821 MB / 0.5893 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003878/0.3782, allocations: 112 kB / 0.5894 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3782, allocations: 0.6875 kB / 0.5894 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.3784, allocations: 52.69 kB / 0.5894 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.3788, allocations: 19.25 kB / 0.5894 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.3815, allocations: 1.983 MB / 0.5914 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.3818, allocations: 0.7396 MB / 0.5921 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.3819, allocations: 20.8 kB / 0.5921 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.3821, allocations: 65.62 kB / 0.5922 GB, free: 11.57 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3821, allocations: 4 kB / 0.5922 GB, free: 11.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.4031, allocations: 3.936 MB / 0.596 GB, free: 10.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.071/7.475, allocations: 9.125 kB / 0.596 GB, free: 10.57 MB / 446.1 MB (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)