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.0008659/0.0008659, allocations: 97.95 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.005171/0.005171, allocations: 170.9 kB / 16.27 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.194/1.194, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8176/0.8176, allocations: 135.3 MB / 426.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003245, allocations: 8 kB / 0.5077 GB, free: 4.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1349, allocations: 82.31 MB / 0.5881 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.001801/0.1368, allocations: 1.724 MB / 0.5898 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007271/0.1375, allocations: 0.5378 MB / 0.5903 GB, free: 260 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.045e-05/0.1376, allocations: 4 kB / 0.5903 GB, free: 256 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.754e-05/0.1377, allocations: 15.8 kB / 0.5903 GB, free: 240 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.686e-05/0.1377, allocations: 23.78 kB / 0.5903 GB, free: 216 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.1379, allocations: 75.88 kB / 0.5904 GB, free: 140 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.1381, allocations: 216 kB / 0.5906 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.1383, allocations: 103.6 kB / 0.5907 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.701e-05/0.1384, allocations: 63.56 kB / 0.5908 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.834e-05/0.1385, allocations: 71.56 kB / 0.5908 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.1385, allocations: 4 kB / 0.5908 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.494e-05/0.1386, allocations: 19.98 kB / 0.5909 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.1386, allocations: 39.77 kB / 0.5909 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.711e-05/0.1387, allocations: 105.1 kB / 0.591 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.1389, allocations: 243.4 kB / 0.5912 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.139, allocations: 0 / 0.5912 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.139, allocations: 0 / 0.5912 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.139, allocations: 0 / 0.5912 GB, free: 15.27 MB / 0.4981 GB 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.0005794/0.1396, allocations: 0.4909 MB / 0.5917 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.1396, allocations: 8.031 kB / 0.5917 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.1396, allocations: 58.67 kB / 0.5918 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.01e-05/0.1397, allocations: 28.64 kB / 0.5918 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.14, allocations: 248.7 kB / 0.592 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.14, allocations: 20.38 kB / 0.5921 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.14, allocations: 19.94 kB / 0.5921 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.1404, allocations: 224.7 kB / 0.5923 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1404, allocations: 0 / 0.5923 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.1404, allocations: 7.984 kB / 0.5923 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1404, allocations: 12 kB / 0.5923 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002764/0.1407, allocations: 139.9 kB / 0.5924 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007786/0.1415, allocations: 0.6128 MB / 0.593 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.1418, allocations: 130.6 kB / 0.5932 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.1419, allocations: 56.84 kB / 0.5932 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.142, allocations: 0 / 0.5932 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.142, allocations: 38.69 kB / 0.5933 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 8.91e-07/0.142, allocations: 0 / 0.5933 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.000404/0.1424, allocations: 189.3 kB / 0.5934 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.1425, allocations: 128.5 kB / 0.5936 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.1426, allocations: 211 kB / 0.5938 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1427, allocations: 33.7 kB / 0.5938 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.243e-05/0.1428, allocations: 148.1 kB / 0.5939 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.1428, allocations: 27.64 kB / 0.594 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.1428, allocations: 25.7 kB / 0.594 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.196e-05/0.1429, allocations: 330.8 kB / 0.5943 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.143, allocations: 47.97 kB / 0.5944 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.1432, allocations: 88.27 kB / 0.5944 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.1434, allocations: 104.6 kB / 0.5945 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1434, allocations: 0 / 0.5945 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002781/0.1437, allocations: 169.4 kB / 0.5947 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.1437, allocations: 9.656 kB / 0.5947 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1437, allocations: 0 / 0.5947 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.1437, allocations: 0 / 0.5947 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.534e-05/0.1438, allocations: 23.92 kB / 0.5947 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1438, allocations: 0 / 0.5947 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.144, allocations: 43.94 kB / 0.5948 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.144, allocations: 7.938 kB / 0.5948 GB, free: 11.36 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 9.823e-05/0.1441, allocations: 129.8 kB / 0.5949 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.1442, allocations: 23.73 kB / 0.5949 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.1445, allocations: 167.2 kB / 0.5951 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1445, allocations: 0 / 0.5951 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1445, allocations: 0 / 0.5951 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1445, allocations: 0 / 0.5951 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.1447, allocations: 269.5 kB / 0.5953 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1447, allocations: 0 / 0.5953 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.18e-05/0.1448, allocations: 19.92 kB / 0.5954 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1449, allocations: 7.938 kB / 0.5954 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1449, allocations: 11.98 kB / 0.5954 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1449, allocations: 0 / 0.5954 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1449, allocations: 0 / 0.5954 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.1452, allocations: 231.2 kB / 0.5956 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.1452, allocations: 96.92 kB / 0.5957 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1452, allocations: 7.938 kB / 0.5957 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.1454, allocations: 31.97 kB / 0.5957 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.1455, allocations: 15.97 kB / 0.5957 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.1455, allocations: 11.98 kB / 0.5958 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001079/0.1456, allocations: 152.4 kB / 0.5959 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1456, allocations: 4 kB / 0.5959 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002368/0.1459, allocations: 39.84 kB / 0.5959 GB, free: 10.06 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.0005367/0.1464, allocations: 0.7828 MB / 0.5967 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002569/0.1467, allocations: 115.8 kB / 0.5968 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1467, allocations: 0 / 0.5968 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.1468, allocations: 63.97 kB / 0.5969 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.1471, allocations: 16 kB / 0.5969 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.1491, allocations: 2.069 MB / 0.5989 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.1494, allocations: 0.7438 MB / 0.5996 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.163e-05/0.1495, allocations: 25.45 kB / 0.5997 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.479e-05/0.1496, allocations: 59.41 kB / 0.5997 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1496, allocations: 0 / 0.5997 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.755/0.9045, allocations: 3.487 MB / 0.6031 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/0.9048, allocations: 234.9 kB / 0.6034 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.054/2.959, allocations: 0 / 0.6034 GB, free: 2.539 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)