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.00101/0.00101, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001226/0.001226, allocations: 193.5 kB / 16.14 MB, free: 6.688 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.205/1.205, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.816/0.816, allocations: 135.1 MB / 425.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 60.09 kB / 0.5048 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1243, allocations: 80.92 MB / 0.5838 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002841/0.1271, allocations: 2.093 MB / 0.5859 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007552/0.1279, allocations: 0.5416 MB / 0.5864 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/0.128, allocations: 8 kB / 0.5864 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.758e-05/0.1281, allocations: 15.84 kB / 0.5864 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.736e-05/0.1282, allocations: 27.73 kB / 0.5864 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.1284, allocations: 75.92 kB / 0.5865 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.1286, allocations: 200 kB / 0.5867 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.1287, allocations: 119.5 kB / 0.5868 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1289, allocations: 75.7 kB / 0.5869 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.862e-05/0.129, allocations: 95.47 kB / 0.587 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.129, allocations: 15.94 kB / 0.587 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.962e-05/0.1291, allocations: 19.98 kB / 0.587 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.1291, allocations: 39.84 kB / 0.5871 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.407e-05/0.1292, allocations: 87.47 kB / 0.5871 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.1294, allocations: 259.4 kB / 0.5874 GB, free: 1.207 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1294, allocations: 4 kB / 0.5874 GB, free: 1.203 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1294, allocations: 0 / 0.5874 GB, free: 1.203 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1295, allocations: 0 / 0.5874 GB, free: 1.203 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.0006428/0.1301, allocations: 0.5181 MB / 0.5879 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.1301, allocations: 8.031 kB / 0.5879 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.1302, allocations: 54.73 kB / 0.588 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.1302, allocations: 24.66 kB / 0.588 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.1305, allocations: 260.6 kB / 0.5882 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1305, allocations: 12.38 kB / 0.5882 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.1306, allocations: 23.94 kB / 0.5883 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.1309, allocations: 212.8 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.131, allocations: 0 / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.131, allocations: 12 kB / 0.5885 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.131, allocations: 4 kB / 0.5885 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002818/0.1313, allocations: 135.9 kB / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007767/0.1321, allocations: 0.601 MB / 0.5892 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.1324, allocations: 126.7 kB / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.1325, allocations: 44.84 kB / 0.5894 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.1325, allocations: 11.92 kB / 0.5894 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.1326, allocations: 34.56 kB / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1326, allocations: 0 / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004049/0.133, allocations: 173.5 kB / 0.5896 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.133, allocations: 136.5 kB / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.1332, allocations: 210.9 kB / 0.5899 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.1333, allocations: 29.7 kB / 0.5899 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.414e-05/0.1333, allocations: 140.2 kB / 0.5901 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.1334, allocations: 39.48 kB / 0.5901 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/0.1334, allocations: 37.7 kB / 0.5901 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.1335, allocations: 330.8 kB / 0.5904 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.1337, allocations: 47.97 kB / 0.5905 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.1338, allocations: 80.27 kB / 0.5906 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.134, allocations: 96.62 kB / 0.5907 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.134, allocations: 4 kB / 0.5907 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002783/0.1343, allocations: 153.4 kB / 0.5908 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.1343, allocations: 7.938 kB / 0.5908 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1343, allocations: 7.984 kB / 0.5908 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.1343, allocations: 0 / 0.5908 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.1344, allocations: 15.98 kB / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1344, allocations: 0 / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.1346, allocations: 35.86 kB / 0.5909 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.1346, allocations: 4 kB / 0.5909 GB, free: 13.33 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.0001078/0.1347, allocations: 137.8 kB / 0.591 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.1348, allocations: 23.78 kB / 0.591 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.1351, allocations: 143 kB / 0.5912 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1351, allocations: 0 / 0.5912 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.1351, allocations: 8.469 kB / 0.5912 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1351, allocations: 3.984 kB / 0.5912 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.1354, allocations: 269.5 kB / 0.5914 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1354, allocations: 4 kB / 0.5914 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.337e-05/0.1355, allocations: 11.98 kB / 0.5915 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1355, allocations: 7.875 kB / 0.5915 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1355, allocations: 4 kB / 0.5915 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1355, allocations: 0 / 0.5915 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1355, allocations: 0 / 0.5915 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.1358, allocations: 231.2 kB / 0.5917 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.1358, allocations: 92.92 kB / 0.5918 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.1359, allocations: 7.938 kB / 0.5918 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.136, allocations: 19.97 kB / 0.5918 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/0.1361, allocations: 27.95 kB / 0.5918 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.1361, allocations: 3.938 kB / 0.5918 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001063/0.1362, allocations: 156.4 kB / 0.592 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1362, allocations: 0 / 0.592 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002501/0.1365, allocations: 39.84 kB / 0.592 GB, free: 12.07 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.0005354/0.137, allocations: 0.7823 MB / 0.5928 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002701/0.1373, allocations: 107.9 kB / 0.5929 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1373, allocations: 0 / 0.5929 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.1374, allocations: 56.11 kB / 0.5929 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.1377, allocations: 25.41 kB / 0.593 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.1397, allocations: 2.037 MB / 0.595 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.14, allocations: 0.7322 MB / 0.5957 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.906e-05/0.1401, allocations: 21.42 kB / 0.5957 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.626e-05/0.1402, allocations: 63.41 kB / 0.5958 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1402, allocations: 4 kB / 0.5958 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3076/0.4478, allocations: 3.572 MB / 0.5992 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.448, allocations: 231.6 kB / 0.5995 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.329, allocations: 0 / 0.5995 GB, free: 4.496 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)