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.001825/0.001825, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002265/0.002265, allocations: 192.4 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.392/2.392, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.459/1.459, allocations: 135.1 MB / 425.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00266/0.00266, allocations: 64.72 kB / 0.505 GB, free: 5.527 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3162, allocations: 80.93 MB / 0.584 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.006034/0.3223, allocations: 2.081 MB / 0.586 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.3241, allocations: 0.5494 MB / 0.5866 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002113/0.3244, allocations: 0 / 0.5866 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002178/0.3246, allocations: 15.84 kB / 0.5866 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.3248, allocations: 31.67 kB / 0.5866 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006215/0.3255, allocations: 75.94 kB / 0.5867 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004828/0.326, allocations: 228 kB / 0.5869 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003877/0.3264, allocations: 111.6 kB / 0.587 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.3266, allocations: 87.64 kB / 0.5871 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.3269, allocations: 99.53 kB / 0.5872 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.485e-05/0.327, allocations: 28 kB / 0.5872 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.3272, allocations: 31.98 kB / 0.5873 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.3273, allocations: 51.84 kB / 0.5873 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.3275, allocations: 107.4 kB / 0.5874 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.328, allocations: 263.4 kB / 0.5877 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.3281, allocations: 4 kB / 0.5877 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3281, allocations: 0 / 0.5877 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.3281, allocations: 0 / 0.5877 GB, free: 0.9883 MB / 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.001581/0.3297, allocations: 0.5219 MB / 0.5882 GB, free: 428 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.117e-05/0.3298, allocations: 12.03 kB / 0.5882 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002144/0.33, allocations: 54.67 kB / 0.5882 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.3301, allocations: 32.64 kB / 0.5883 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005399/0.3307, allocations: 248.7 kB / 0.5885 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.3307, allocations: 12.38 kB / 0.5885 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.832e-05/0.3308, allocations: 24.02 kB / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006839/0.3315, allocations: 220.8 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.3315, allocations: 0 / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.3316, allocations: 8 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.3316, allocations: 7.938 kB / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005399/0.3322, allocations: 139.9 kB / 0.5889 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.3338, allocations: 0.5971 MB / 0.5895 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005662/0.3344, allocations: 118.7 kB / 0.5896 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.3347, allocations: 48.83 kB / 0.5896 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.437e-05/0.3348, allocations: 7.984 kB / 0.5896 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/0.3348, allocations: 42.5 kB / 0.5897 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 2.124e-06/0.3348, allocations: 0 / 0.5897 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0007778/0.3356, allocations: 173.5 kB / 0.5899 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.3358, allocations: 128.5 kB / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.3361, allocations: 210.9 kB / 0.5902 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.3362, allocations: 37.7 kB / 0.5902 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.3364, allocations: 144.2 kB / 0.5903 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.922e-05/0.3365, allocations: 31.55 kB / 0.5904 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.3366, allocations: 33.7 kB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002787/0.3369, allocations: 326.8 kB / 0.5907 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.3372, allocations: 47.97 kB / 0.5908 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.3374, allocations: 92.2 kB / 0.5909 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.3378, allocations: 84.69 kB / 0.5909 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.3378, allocations: 4 kB / 0.5909 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005071/0.3383, allocations: 157.4 kB / 0.5911 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.3384, allocations: 7.969 kB / 0.5911 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3384, allocations: 4 kB / 0.5911 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.3384, allocations: 0 / 0.5911 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.3386, allocations: 27.92 kB / 0.5911 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/0.3386, allocations: 11.91 kB / 0.5911 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.3389, allocations: 23.83 kB / 0.5912 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.3389, allocations: 4 kB / 0.5912 GB, free: 13.11 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.0002129/0.3391, allocations: 141.8 kB / 0.5913 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.482e-05/0.3392, allocations: 19.75 kB / 0.5913 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005322/0.3398, allocations: 143 kB / 0.5915 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3398, allocations: 4 kB / 0.5915 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.3398, allocations: 0 / 0.5915 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.3398, allocations: 4.5 kB / 0.5915 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004818/0.3403, allocations: 269.5 kB / 0.5917 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.3403, allocations: 3.984 kB / 0.5917 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.3405, allocations: 16 kB / 0.5917 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-05/0.3405, allocations: 3.938 kB / 0.5917 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.3405, allocations: 7.922 kB / 0.5918 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.3405, allocations: 0 / 0.5918 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3406, allocations: 0 / 0.5918 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005263/0.3411, allocations: 235.3 kB / 0.592 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.991e-05/0.3412, allocations: 88.92 kB / 0.5921 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/0.3413, allocations: 15.94 kB / 0.5921 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.3415, allocations: 15.97 kB / 0.5921 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.3416, allocations: 27.91 kB / 0.5921 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.3417, allocations: 11.98 kB / 0.5921 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002048/0.3419, allocations: 148.4 kB / 0.5923 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3419, allocations: 0 / 0.5923 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004659/0.3424, allocations: 39.84 kB / 0.5923 GB, free: 11.84 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.001076/0.3435, allocations: 0.7785 MB / 0.5931 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005253/0.344, allocations: 107.9 kB / 0.5932 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.344, allocations: 0 / 0.5932 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.3443, allocations: 64.16 kB / 0.5932 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006062/0.3449, allocations: 24.12 kB / 0.5933 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.3487, allocations: 2.035 MB / 0.5952 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.3492, allocations: 0.7319 MB / 0.596 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001743/0.3494, allocations: 17.42 kB / 0.596 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.3496, allocations: 71.03 kB / 0.596 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/0.3496, allocations: 0 / 0.596 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.201/0.5506, allocations: 3.691 MB / 0.5996 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003562/0.551, allocations: 234.6 kB / 0.5999 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.322/3.873, allocations: 0 / 0.5999 GB, free: 4.141 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/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)