Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildingSystems_BuildingSystems_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.00103/0.00103, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.265/1.265, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002095/0.002095, allocations: 278.9 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9226/0.9226, allocations: 169.2 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002854/0.002854, allocations: 90.88 kB / 0.5954 GB, free: 27.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1467, allocations: 86.98 MB / 0.6803 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002908/0.1496, allocations: 2.012 MB / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008013/0.1504, allocations: 0.5716 MB / 0.6828 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.177e-05/0.1505, allocations: 4 kB / 0.6828 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.928e-05/0.1506, allocations: 24.28 kB / 0.6829 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.737e-05/0.1507, allocations: 32.95 kB / 0.6829 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.151, allocations: 85.86 kB / 0.683 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.1512, allocations: 220 kB / 0.6832 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.1514, allocations: 120.5 kB / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.1515, allocations: 95.58 kB / 0.6834 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1516, allocations: 107.5 kB / 0.6835 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.1516, allocations: 24 kB / 0.6835 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.051e-05/0.1517, allocations: 28 kB / 0.6835 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.863e-05/0.1518, allocations: 55.78 kB / 0.6836 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.926e-05/0.1519, allocations: 111.4 kB / 0.6837 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.1521, allocations: 263.2 kB / 0.6839 GB, free: 12.83 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1521, allocations: 0 / 0.6839 GB, free: 12.83 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1521, allocations: 4 kB / 0.6839 GB, free: 12.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1521, allocations: 0 / 0.6839 GB, free: 12.83 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.0006602/0.1528, allocations: 0.5142 MB / 0.6844 GB, free: 12.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1529, allocations: 8.031 kB / 0.6845 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.993e-05/0.1529, allocations: 50.73 kB / 0.6845 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.153, allocations: 28.64 kB / 0.6845 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.1532, allocations: 256.7 kB / 0.6848 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1533, allocations: 12.38 kB / 0.6848 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.1533, allocations: 20.38 kB / 0.6848 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.1537, allocations: 228.8 kB / 0.685 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1537, allocations: 3.984 kB / 0.685 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.1537, allocations: 4 kB / 0.685 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1537, allocations: 8 kB / 0.685 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.154, allocations: 135.9 kB / 0.6852 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007901/0.1548, allocations: 0.601 MB / 0.6858 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.1551, allocations: 122.8 kB / 0.6859 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.1553, allocations: 40.84 kB / 0.6859 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.1553, allocations: 8.188 kB / 0.6859 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.1553, allocations: 34.5 kB / 0.686 GB, free: 10.58 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1553, allocations: 0 / 0.686 GB, free: 10.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004173/0.1558, allocations: 177.3 kB / 0.6861 GB, free: 10.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.1558, allocations: 136.8 kB / 0.6863 GB, free: 10.24 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.156, allocations: 207.7 kB / 0.6865 GB, free: 10.03 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.156, allocations: 29.7 kB / 0.6865 GB, free: 9.992 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.239e-05/0.1561, allocations: 148.1 kB / 0.6866 GB, free: 9.844 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.1561, allocations: 35.56 kB / 0.6867 GB, free: 9.809 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/0.1562, allocations: 37.7 kB / 0.6867 GB, free: 9.766 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1563, allocations: 334.8 kB / 0.687 GB, free: 9.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.1564, allocations: 47.98 kB / 0.6871 GB, free: 9.383 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.1566, allocations: 84.27 kB / 0.6871 GB, free: 9.285 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.1568, allocations: 92.25 kB / 0.6872 GB, free: 9.191 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1568, allocations: 4 kB / 0.6872 GB, free: 9.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002851/0.1571, allocations: 157.4 kB / 0.6874 GB, free: 9.027 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1571, allocations: 8 kB / 0.6874 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1571, allocations: 3.938 kB / 0.6874 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1571, allocations: 3.938 kB / 0.6874 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.1572, allocations: 15.98 kB / 0.6874 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1572, allocations: 0 / 0.6874 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.1574, allocations: 27.95 kB / 0.6874 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.1574, allocations: 7.984 kB / 0.6874 GB, free: 8.961 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 0.0001095/0.1575, allocations: 134.5 kB / 0.6876 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.1576, allocations: 15.81 kB / 0.6876 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.1579, allocations: 146.9 kB / 0.6877 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1579, allocations: 7.922 kB / 0.6877 GB, free: 8.648 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1579, allocations: 8 kB / 0.6877 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1579, allocations: 0 / 0.6877 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.1582, allocations: 265.5 kB / 0.688 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1582, allocations: 4 kB / 0.688 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.507e-05/0.1583, allocations: 11.98 kB / 0.688 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1583, allocations: 4 kB / 0.688 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1583, allocations: 0 / 0.688 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.1583, allocations: 3.938 kB / 0.688 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1583, allocations: 48 / 0.688 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.1586, allocations: 235.3 kB / 0.6882 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.1587, allocations: 100.9 kB / 0.6883 GB, free: 7.945 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.1587, allocations: 7.938 kB / 0.6883 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.1588, allocations: 23.91 kB / 0.6884 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.1589, allocations: 27.97 kB / 0.6884 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.1589, allocations: 7.984 kB / 0.6884 GB, free: 7.879 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.159, allocations: 152.6 kB / 0.6885 GB, free: 7.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1591, allocations: 0 / 0.6885 GB, free: 7.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000251/0.1593, allocations: 35.91 kB / 0.6886 GB, free: 7.695 MB / 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.0005369/0.1599, allocations: 0.7708 MB / 0.6893 GB, free: 6.895 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002885/0.1602, allocations: 119.8 kB / 0.6895 GB, free: 6.777 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1602, allocations: 0 / 0.6895 GB, free: 6.777 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.1603, allocations: 51.98 kB / 0.6895 GB, free: 6.727 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.1606, allocations: 29.48 kB / 0.6895 GB, free: 6.699 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.1626, allocations: 1.986 MB / 0.6915 GB, free: 4.641 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.1629, allocations: 0.7395 MB / 0.6922 GB, free: 3.875 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.689e-05/0.163, allocations: 13.42 kB / 0.6922 GB, free: 3.859 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.957e-05/0.1631, allocations: 67.41 kB / 0.6923 GB, free: 3.797 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1631, allocations: 4 kB / 0.6923 GB, free: 3.793 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3356/0.4987, allocations: 3.952 MB / 0.6961 GB, free: 16 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.385/8.884, allocations: 14.41 kB / 0.6961 GB, free: 8 kB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)