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.001235/0.001235, allocations: 100 kB / 15.05 MB, free: 1.105 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.001375/0.001374, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.152/2.152, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.073/1.073, allocations: 132.2 MB / 423.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.000403, allocations: 8 kB / 0.5033 GB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7232/0.7236, allocations: 81.58 MB / 0.583 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002597/0.7263, allocations: 1.674 MB / 0.5846 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.7274, allocations: 0.5308 MB / 0.5851 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.406e-05/0.7275, allocations: 2.719 kB / 0.5851 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.7276, allocations: 12.61 kB / 0.5851 GB, free: 2.301 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.772e-05/0.7277, allocations: 32.42 kB / 0.5852 GB, free: 2.277 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.728, allocations: 51.06 kB / 0.5852 GB, free: 2.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.7283, allocations: 133.9 kB / 0.5853 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002457/0.7285, allocations: 87.06 kB / 0.5854 GB, free: 2.137 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.7286, allocations: 55.55 kB / 0.5855 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.7288, allocations: 76.53 kB / 0.5856 GB, free: 2.074 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.7289, allocations: 5.906 kB / 0.5856 GB, free: 2.074 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.96e-05/0.7289, allocations: 14.94 kB / 0.5856 GB, free: 2.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.208e-05/0.729, allocations: 29.33 kB / 0.5856 GB, free: 2.055 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.729, allocations: 56.55 kB / 0.5857 GB, free: 2.004 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.7294, allocations: 205 kB / 0.5859 GB, free: 1.953 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.7294, allocations: 0 / 0.5859 GB, free: 1.953 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.7294, allocations: 5.031 kB / 0.5859 GB, free: 1.949 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.7294, allocations: 0 / 0.5859 GB, free: 1.949 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.000726/0.7301, allocations: 494.8 kB / 0.5863 GB, free: 1.523 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.7302, allocations: 9.781 kB / 0.5863 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.035e-05/0.7302, allocations: 55.84 kB / 0.5864 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.7303, allocations: 29.5 kB / 0.5864 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.7306, allocations: 257.5 kB / 0.5867 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.7307, allocations: 19.34 kB / 0.5867 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.634e-05/0.7307, allocations: 20.88 kB / 0.5867 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/0.7311, allocations: 222.9 kB / 0.5869 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.7312, allocations: 0.5625 kB / 0.5869 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.7312, allocations: 6.031 kB / 0.5869 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.7312, allocations: 4.75 kB / 0.5869 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003502/0.7316, allocations: 157 kB / 0.5871 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.7326, allocations: 0.5932 MB / 0.5877 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/0.7331, allocations: 130.1 kB / 0.5878 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.1e-05/0.7331, allocations: 3.297 kB / 0.5878 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.7331, allocations: 35.7 kB / 0.5878 GB, free: 496 kB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.7331, allocations: 0 / 0.5878 GB, free: 496 kB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004829/0.7336, allocations: 183 kB / 0.588 GB, free: 412 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.7337, allocations: 131.1 kB / 0.5881 GB, free: 252 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.7339, allocations: 214.2 kB / 0.5883 GB, free: 104 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.7339, allocations: 35.42 kB / 0.5884 GB, free: 64 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.7341, allocations: 140.1 kB / 0.5885 GB, free: 15.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.7341, allocations: 30.84 kB / 0.5885 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/0.7341, allocations: 4.594 kB / 0.5885 GB, free: 15.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.7343, allocations: 324.5 kB / 0.5888 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.7344, allocations: 53.12 kB / 0.5889 GB, free: 15.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.7346, allocations: 94.84 kB / 0.589 GB, free: 15.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.7348, allocations: 51.06 kB / 0.589 GB, free: 15.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.7348, allocations: 0.5625 kB / 0.589 GB, free: 15.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003581/0.7351, allocations: 162 kB / 0.5892 GB, free: 15.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.7352, allocations: 9.547 kB / 0.5892 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.7352, allocations: 1.562 kB / 0.5892 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.7352, allocations: 1.031 kB / 0.5892 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.7353, allocations: 18.62 kB / 0.5892 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.7353, allocations: 5.641 kB / 0.5892 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.7355, allocations: 42.88 kB / 0.5893 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.7356, allocations: 4.812 kB / 0.5893 GB, free: 15.39 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 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001612/0.7357, allocations: 134.9 kB / 0.5894 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/0.7358, allocations: 17.22 kB / 0.5894 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000383/0.7362, allocations: 160.9 kB / 0.5896 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.7362, allocations: 0.8438 kB / 0.5896 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.7362, allocations: 4.453 kB / 0.5896 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.7362, allocations: 1.656 kB / 0.5896 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.7366, allocations: 272.3 kB / 0.5898 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.7366, allocations: 0.7969 kB / 0.5898 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.7367, allocations: 23.41 kB / 0.5898 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/0.7367, allocations: 1.5 kB / 0.5898 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.7368, allocations: 6.844 kB / 0.5899 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.7368, allocations: 4.562 kB / 0.5899 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7368, allocations: 1.406 kB / 0.5899 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003629/0.7371, allocations: 237.6 kB / 0.5901 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.854e-05/0.7372, allocations: 99.08 kB / 0.5902 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.7373, allocations: 3.641 kB / 0.5902 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.7375, allocations: 28.72 kB / 0.5902 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.643e-05/0.7376, allocations: 29.86 kB / 0.5902 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.7376, allocations: 8.297 kB / 0.5902 GB, free: 14.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001602/0.7378, allocations: 154.2 kB / 0.5904 GB, free: 14.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.414e-06/0.7378, allocations: 0 / 0.5904 GB, free: 14.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003004/0.7381, allocations: 44.62 kB / 0.5904 GB, free: 14.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007814/0.7389, allocations: 0.778 MB / 0.5912 GB, free: 13.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000343/0.7392, allocations: 117.8 kB / 0.5913 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.7392, allocations: 4 kB / 0.5913 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.7394, allocations: 61 kB / 0.5914 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.7397, allocations: 16.44 kB / 0.5914 GB, free: 13.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.7419, allocations: 1.215 MB / 0.5926 GB, free: 12.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.7423, allocations: 0.7336 MB / 0.5933 GB, free: 12.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.7424, allocations: 20.7 kB / 0.5933 GB, free: 12.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.7425, allocations: 64.81 kB / 0.5934 GB, free: 12.19 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.7425, allocations: 0 / 0.5934 GB, free: 12.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5095/1.252, allocations: 3.685 MB / 0.597 GB, free: 11.47 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004849/1.253, allocations: 199.6 kB / 0.5972 GB, free: 11.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.082/5.335, allocations: 0 / 0.5972 GB, free: 11.23 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/linux/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) Environment - environmentSimulation: