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.0009838/0.000984, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001222/0.001222, allocations: 194 kB / 16.14 MB, free: 6.66 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.23/1.23, 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/package.mo): time 0.6968/0.6968, allocations: 132.2 MB / 422.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.8 kB / 0.5012 GB, free: 9.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1254, allocations: 80.2 MB / 0.5795 GB, free: 9.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002678/0.1281, allocations: 2.082 MB / 0.5815 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007269/0.1289, allocations: 0.5494 MB / 0.5821 GB, free: 6.477 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.844e-05/0.129, allocations: 4 kB / 0.5821 GB, free: 6.473 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.394e-05/0.1291, allocations: 11.86 kB / 0.5821 GB, free: 6.461 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.854e-05/0.1291, allocations: 35.72 kB / 0.5821 GB, free: 6.426 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.1293, allocations: 71.94 kB / 0.5822 GB, free: 6.355 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.1295, allocations: 208 kB / 0.5824 GB, free: 6.152 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.1297, allocations: 104.3 kB / 0.5825 GB, free: 6.047 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.759e-05/0.1298, allocations: 75.66 kB / 0.5826 GB, free: 5.973 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.484e-05/0.1299, allocations: 99.52 kB / 0.5827 GB, free: 5.875 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.1299, allocations: 15.94 kB / 0.5827 GB, free: 5.859 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.789e-05/0.13, allocations: 19.94 kB / 0.5827 GB, free: 5.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.13, allocations: 39.84 kB / 0.5827 GB, free: 5.801 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.647e-05/0.1301, allocations: 95.44 kB / 0.5828 GB, free: 5.707 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.1303, allocations: 251.4 kB / 0.5831 GB, free: 5.461 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1303, allocations: 4 kB / 0.5831 GB, free: 5.457 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.62e-07/0.1303, allocations: 4 kB / 0.5831 GB, free: 5.453 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1304, allocations: 0 / 0.5831 GB, free: 5.453 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.0006139/0.131, allocations: 0.5181 MB / 0.5836 GB, free: 4.887 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.131, allocations: 12.03 kB / 0.5836 GB, free: 4.875 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.828e-05/0.1311, allocations: 54.72 kB / 0.5836 GB, free: 4.812 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.1311, allocations: 24.66 kB / 0.5837 GB, free: 4.789 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.1314, allocations: 248.7 kB / 0.5839 GB, free: 4.504 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1314, allocations: 20.31 kB / 0.5839 GB, free: 4.484 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.1314, allocations: 23.94 kB / 0.584 GB, free: 4.461 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.1318, allocations: 220.8 kB / 0.5842 GB, free: 4.227 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.1318, allocations: 0 / 0.5842 GB, free: 4.227 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.1318, allocations: 8 kB / 0.5842 GB, free: 4.219 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1318, allocations: 8 kB / 0.5842 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002678/0.1321, allocations: 135.9 kB / 0.5843 GB, free: 4.078 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007418/0.1328, allocations: 0.6049 MB / 0.5849 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.1332, allocations: 115 kB / 0.585 GB, free: 3.301 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.1333, allocations: 56.78 kB / 0.5851 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.1333, allocations: 0 / 0.5851 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.1333, allocations: 34.56 kB / 0.5851 GB, free: 3.199 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 8.42e-07/0.1333, allocations: 0 / 0.5851 GB, free: 3.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003905/0.1337, allocations: 173.6 kB / 0.5853 GB, free: 3.023 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.1338, allocations: 128.5 kB / 0.5854 GB, free: 2.867 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.134, allocations: 219 kB / 0.5856 GB, free: 2.645 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.134, allocations: 37.64 kB / 0.5856 GB, free: 2.602 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.433e-05/0.1341, allocations: 140.2 kB / 0.5858 GB, free: 2.461 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.1341, allocations: 35.53 kB / 0.5858 GB, free: 2.426 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/0.1342, allocations: 37.7 kB / 0.5858 GB, free: 2.383 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.757e-05/0.1342, allocations: 334.8 kB / 0.5862 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.1344, allocations: 43.98 kB / 0.5862 GB, free: 2.004 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.1345, allocations: 87.02 kB / 0.5863 GB, free: 1.906 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.1347, allocations: 89.62 kB / 0.5864 GB, free: 1.812 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1347, allocations: 0 / 0.5864 GB, free: 1.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002682/0.135, allocations: 161.4 kB / 0.5865 GB, free: 1.648 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.135, allocations: 11.94 kB / 0.5865 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.135, allocations: 0 / 0.5865 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.135, allocations: 0 / 0.5865 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.1351, allocations: 15.98 kB / 0.5865 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1351, allocations: 4 kB / 0.5865 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.1352, allocations: 31.81 kB / 0.5866 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.1353, allocations: 4 kB / 0.5866 GB, free: 1.582 MB / 494.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 (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.882e-05/0.1354, allocations: 140 kB / 0.5867 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.1354, allocations: 19.75 kB / 0.5867 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002925/0.1357, allocations: 147 kB / 0.5869 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1357, allocations: 4 kB / 0.5869 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.1357, allocations: 48 / 0.5869 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1357, allocations: 3.984 kB / 0.5869 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.136, allocations: 265.5 kB / 0.5871 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.136, allocations: 0 / 0.5871 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.198e-05/0.1361, allocations: 19.98 kB / 0.5872 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.1361, allocations: 3.938 kB / 0.5872 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.1361, allocations: 4 kB / 0.5872 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1361, allocations: 0 / 0.5872 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.1361, allocations: 0 / 0.5872 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.1364, allocations: 235.3 kB / 0.5874 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.1364, allocations: 96.83 kB / 0.5875 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.1365, allocations: 15.92 kB / 0.5875 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.1366, allocations: 15.98 kB / 0.5875 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.1367, allocations: 27.95 kB / 0.5875 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.1367, allocations: 0 / 0.5875 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.1368, allocations: 152.4 kB / 0.5877 GB, free: 364 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1368, allocations: 3.938 kB / 0.5877 GB, free: 360 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.1371, allocations: 39.84 kB / 0.5877 GB, free: 320 kB / 494.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 (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.0005108/0.1376, allocations: 0.7824 MB / 0.5885 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.1378, allocations: 106.8 kB / 0.5886 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1379, allocations: 8.062 kB / 0.5886 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.138, allocations: 51.97 kB / 0.5886 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.1383, allocations: 17.73 kB / 0.5887 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.1402, allocations: 2.05 MB / 0.5907 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.1405, allocations: 0.7322 MB / 0.5914 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.851e-05/0.1405, allocations: 21.42 kB / 0.5914 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.476e-05/0.1406, allocations: 59.41 kB / 0.5915 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1406, allocations: 0 / 0.5915 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.473/0.6136, allocations: 3.558 MB / 0.5949 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/0.6139, allocations: 240.2 kB / 0.5952 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/2.33, allocations: 4 kB / 0.5952 GB, free: 8.738 MB / 0.4981 GB (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/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)