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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_dev_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.001469/0.001469, 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.002222/0.002222, allocations: 177.3 kB / 15.95 MB, free: 216 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.519/2.519, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.873/1.873, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006571/0.0006572, allocations: 12 kB / 0.5069 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3316, allocations: 82.31 MB / 0.5873 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.004017/0.3357, allocations: 1.669 MB / 0.5889 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.3372, allocations: 0.5241 MB / 0.5894 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.3374, allocations: 0 / 0.5894 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.3375, allocations: 15.86 kB / 0.5895 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.3377, allocations: 39.88 kB / 0.5895 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.3381, allocations: 51.92 kB / 0.5895 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.3384, allocations: 128.3 kB / 0.5897 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002907/0.3387, allocations: 90.11 kB / 0.5898 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.3388, allocations: 59.7 kB / 0.5898 GB, free: 444 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.339, allocations: 67.62 kB / 0.5899 GB, free: 376 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.339, allocations: 8 kB / 0.5899 GB, free: 368 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.487e-05/0.3391, allocations: 12 kB / 0.5899 GB, free: 356 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.793e-05/0.3392, allocations: 35.83 kB / 0.5899 GB, free: 320 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.3393, allocations: 61.52 kB / 0.59 GB, free: 252 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.3396, allocations: 195.8 kB / 0.5902 GB, free: 56 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3396, allocations: 0 / 0.5902 GB, free: 56 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3396, allocations: 0 / 0.5902 GB, free: 56 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.3397, allocations: 7.938 kB / 0.5902 GB, free: 48 kB / 494.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.001079/0.3407, allocations: 0.4886 MB / 0.5907 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/0.3408, allocations: 8.031 kB / 0.5907 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.906e-05/0.3409, allocations: 54.55 kB / 0.5907 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.412e-05/0.341, allocations: 23.72 kB / 0.5907 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004626/0.3415, allocations: 251.5 kB / 0.591 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.3415, allocations: 12 kB / 0.591 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/0.3416, allocations: 16 kB / 0.591 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000623/0.3422, allocations: 224.7 kB / 0.5912 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.3422, allocations: 0 / 0.5912 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/0.3423, allocations: 19.98 kB / 0.5912 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3423, allocations: 4 kB / 0.5912 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004862/0.3428, allocations: 143.9 kB / 0.5914 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.3442, allocations: 0.6127 MB / 0.592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/0.3448, allocations: 118.8 kB / 0.5921 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.479e-05/0.3449, allocations: 12 kB / 0.5921 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.3449, allocations: 34.69 kB / 0.5921 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 2.144e-06/0.3449, allocations: 0 / 0.5921 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0007925/0.3457, allocations: 189.3 kB / 0.5923 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.3458, allocations: 128.5 kB / 0.5924 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.3462, allocations: 210.9 kB / 0.5926 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.3462, allocations: 29.7 kB / 0.5927 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.3464, allocations: 144.2 kB / 0.5928 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.262e-05/0.3464, allocations: 35.53 kB / 0.5928 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.594e-05/0.3465, allocations: 0 / 0.5928 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3466, allocations: 330.8 kB / 0.5932 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.3469, allocations: 55.97 kB / 0.5932 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.3471, allocations: 92.27 kB / 0.5933 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.3474, allocations: 43.98 kB / 0.5933 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3474, allocations: 0 / 0.5933 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005624/0.3479, allocations: 160.9 kB / 0.5935 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.348, allocations: 4 kB / 0.5935 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.348, allocations: 4 kB / 0.5935 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.348, allocations: 11.98 kB / 0.5935 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.3483, allocations: 27.86 kB / 0.5935 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.3483, allocations: 11.97 kB / 0.5935 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.3486, allocations: 31.83 kB / 0.5936 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.3486, allocations: 4 kB / 0.5936 GB, free: 12.29 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 ($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.0002492/0.3489, allocations: 143.2 kB / 0.5937 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.986e-05/0.349, allocations: 15.81 kB / 0.5937 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000572/0.3496, allocations: 151 kB / 0.5939 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.3496, allocations: 3.953 kB / 0.5939 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3496, allocations: 4 kB / 0.5939 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3496, allocations: 0 / 0.5939 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005997/0.3502, allocations: 269.4 kB / 0.5941 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.3503, allocations: 3.984 kB / 0.5941 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.3504, allocations: 16 kB / 0.5942 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.3505, allocations: 0 / 0.5942 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.3505, allocations: 3.984 kB / 0.5942 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.3505, allocations: 3.938 kB / 0.5942 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.3505, allocations: 3.953 kB / 0.5942 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005227/0.3511, allocations: 235.3 kB / 0.5944 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.002e-05/0.3512, allocations: 92.92 kB / 0.5945 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.3512, allocations: 4 kB / 0.5945 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.3516, allocations: 35.91 kB / 0.5945 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.3517, allocations: 23.95 kB / 0.5945 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.3517, allocations: 7.953 kB / 0.5946 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002185/0.352, allocations: 152.4 kB / 0.5947 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.41e-07/0.352, allocations: 3.938 kB / 0.5947 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005022/0.3525, allocations: 39.84 kB / 0.5947 GB, free: 11 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 (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.001142/0.3537, allocations: 0.7866 MB / 0.5955 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005233/0.3542, allocations: 119.9 kB / 0.5956 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3542, allocations: 0 / 0.5956 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.3545, allocations: 59.91 kB / 0.5957 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.3549, allocations: 20.06 kB / 0.5957 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/0.358, allocations: 1.212 MB / 0.5969 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/0.3586, allocations: 0.74 MB / 0.5976 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001656/0.3588, allocations: 13.42 kB / 0.5976 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.359, allocations: 63.34 kB / 0.5977 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/0.359, allocations: 0 / 0.5977 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05859/0.4176, allocations: 3.68 MB / 0.6013 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003519/0.418, allocations: 210.1 kB / 0.6015 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.439/3.857, allocations: 3.5 kB / 0.6015 GB, free: 4.191 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) Environment - environmentSimulation: