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.0008642/0.0008642, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004865/0.004865, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.232/1.232, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7017/0.7017, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003112, allocations: 8.625 kB / 0.5041 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3392, allocations: 81.56 MB / 0.5838 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.001891/0.3412, allocations: 1.736 MB / 0.5854 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009135/0.3421, allocations: 0.5495 MB / 0.586 GB, free: 2.379 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.3422, allocations: 3.75 kB / 0.586 GB, free: 2.379 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.3424, allocations: 12.47 kB / 0.586 GB, free: 2.371 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.3425, allocations: 28.53 kB / 0.586 GB, free: 2.352 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.3427, allocations: 71.3 kB / 0.5861 GB, free: 2.305 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.343, allocations: 216.8 kB / 0.5863 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.3432, allocations: 105.8 kB / 0.5864 GB, free: 2.141 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.3433, allocations: 60.61 kB / 0.5865 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.3434, allocations: 75.02 kB / 0.5865 GB, free: 2.074 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.3435, allocations: 5.906 kB / 0.5865 GB, free: 2.074 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.512e-05/0.3435, allocations: 11.48 kB / 0.5865 GB, free: 2.074 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.3436, allocations: 33.81 kB / 0.5866 GB, free: 2.055 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.47e-05/0.3437, allocations: 110.6 kB / 0.5867 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.3439, allocations: 245.8 kB / 0.5869 GB, free: 1.891 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.344, allocations: 0 / 0.5869 GB, free: 1.891 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.344, allocations: 0 / 0.5869 GB, free: 1.891 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.344, allocations: 0 / 0.5869 GB, free: 1.891 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.0006566/0.3446, allocations: 0.4891 MB / 0.5874 GB, free: 1.457 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3447, allocations: 9.844 kB / 0.5874 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.377e-05/0.3447, allocations: 48.52 kB / 0.5875 GB, free: 1.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.928e-05/0.3448, allocations: 34.56 kB / 0.5875 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.3451, allocations: 264.3 kB / 0.5877 GB, free: 1.137 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.3451, allocations: 19.31 kB / 0.5878 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.3451, allocations: 23.53 kB / 0.5878 GB, free: 1.113 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.3455, allocations: 217.7 kB / 0.588 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3456, allocations: 4.688 kB / 0.588 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.3456, allocations: 6.422 kB / 0.588 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3456, allocations: 3.75 kB / 0.588 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.3459, allocations: 159.2 kB / 0.5882 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008574/0.3468, allocations: 0.5923 MB / 0.5887 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.3471, allocations: 132.7 kB / 0.5889 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.3473, allocations: 52.02 kB / 0.5889 GB, free: 448 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.3473, allocations: 6.562 kB / 0.5889 GB, free: 444 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.3473, allocations: 32.92 kB / 0.5889 GB, free: 404 kB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.3473, allocations: 0 / 0.5889 GB, free: 404 kB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004448/0.3478, allocations: 192.2 kB / 0.5891 GB, free: 312 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.3478, allocations: 130.3 kB / 0.5893 GB, free: 152 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.348, allocations: 211.5 kB / 0.5895 GB, free: 8 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/0.3481, allocations: 28.45 kB / 0.5895 GB, free: 15.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.282e-05/0.3482, allocations: 151.3 kB / 0.5896 GB, free: 15.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.3482, allocations: 26.97 kB / 0.5897 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.3482, allocations: 23.95 kB / 0.5897 GB, free: 15.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3484, allocations: 331.3 kB / 0.59 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.3485, allocations: 51.34 kB / 0.59 GB, free: 15.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.3486, allocations: 92.88 kB / 0.5901 GB, free: 15.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.3489, allocations: 100.4 kB / 0.5902 GB, free: 15.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3489, allocations: 0 / 0.5902 GB, free: 15.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003452/0.3492, allocations: 171.7 kB / 0.5904 GB, free: 15.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3493, allocations: 10.81 kB / 0.5904 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3493, allocations: 1.062 kB / 0.5904 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3493, allocations: 2.047 kB / 0.5904 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.3494, allocations: 18.39 kB / 0.5904 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.3494, allocations: 1.031 kB / 0.5904 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.3496, allocations: 35.45 kB / 0.5905 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.3496, allocations: 8.219 kB / 0.5905 GB, free: 15.25 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.0001223/0.3497, allocations: 139.2 kB / 0.5906 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.3498, allocations: 24.72 kB / 0.5906 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003442/0.3501, allocations: 160.8 kB / 0.5908 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3501, allocations: 2.469 kB / 0.5908 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3501, allocations: 0 / 0.5908 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3501, allocations: 1.766 kB / 0.5908 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.3504, allocations: 272.1 kB / 0.591 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3504, allocations: 0 / 0.591 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.296e-05/0.3505, allocations: 16.94 kB / 0.5911 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.3506, allocations: 4.719 kB / 0.5911 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.3506, allocations: 6.469 kB / 0.5911 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3506, allocations: 1.016 kB / 0.5911 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3506, allocations: 4.969 kB / 0.5911 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.3509, allocations: 235.3 kB / 0.5913 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.351, allocations: 94.55 kB / 0.5914 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.351, allocations: 10.98 kB / 0.5914 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.3512, allocations: 30.05 kB / 0.5914 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.3513, allocations: 20.38 kB / 0.5914 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.3513, allocations: 3.781 kB / 0.5914 GB, free: 14.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.3514, allocations: 159 kB / 0.5916 GB, free: 14.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3514, allocations: 4 kB / 0.5916 GB, free: 14.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.3517, allocations: 41.17 kB / 0.5916 GB, free: 14.37 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.0005829/0.3523, allocations: 0.7855 MB / 0.5924 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002974/0.3526, allocations: 120.6 kB / 0.5925 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3526, allocations: 0.5938 kB / 0.5925 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.3527, allocations: 56.89 kB / 0.5926 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.3531, allocations: 18.55 kB / 0.5926 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.3555, allocations: 2.07 MB / 0.5946 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.3557, allocations: 0.7325 MB / 0.5953 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.414e-05/0.3558, allocations: 20.78 kB / 0.5954 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.356, allocations: 63.42 kB / 0.5954 GB, free: 11.29 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.356, allocations: 0.75 kB / 0.5954 GB, free: 11.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.428/3.784, allocations: 3.491 MB / 0.5988 GB, free: 10.54 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/3.784, allocations: 228 kB / 0.599 GB, free: 10.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/6.058, allocations: 0 / 0.599 GB, free: 10.28 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)