Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 118.4 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002298/0.002298, allocations: 279 kB / 303.6 MB, free: 3.754 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.012/1.012, allocations: 180.9 MB / 0.5268 GB, free: 2.715 MB / 382.1 MB " [Timeout remaining time 179] 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: translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002722/0.002722, allocations: 103.8 kB / 0.7259 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5422/0.545, allocations: 94.15 MB / 0.8179 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1907/0.7357, allocations: 161.9 MB / 0.976 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005803/0.7415, allocations: 4.571 MB / 0.9804 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003472/0.7419, allocations: 15.88 kB / 0.9804 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000468/0.7423, allocations: 123.1 kB / 0.9806 GB, free: 10 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008292/0.7432, allocations: 342.4 kB / 0.9809 GB, free: 9.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007812/0.7439, allocations: 278.9 kB / 0.9811 GB, free: 9.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006894/0.7446, allocations: 0.5612 MB / 0.9817 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003287/0.745, allocations: 180.9 kB / 0.9819 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009767/0.7459, allocations: 466.2 kB / 0.9823 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.7462, allocations: 203.2 kB / 0.9825 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.7463, allocations: 16 kB / 0.9825 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.7465, allocations: 87.92 kB / 0.9826 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.7466, allocations: 91.7 kB / 0.9827 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.7467, allocations: 115.4 kB / 0.9828 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.7471, allocations: 294.8 kB / 0.9831 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7471, allocations: 4 kB / 0.9831 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7471, allocations: 0 / 0.9831 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.7472, allocations: 0 / 0.9831 GB, free: 7.402 MB / 0.7169 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.0008743/0.748, allocations: 0.537 MB / 0.9836 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.7481, allocations: 12.03 kB / 0.9836 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.063e-05/0.7481, allocations: 35.75 kB / 0.9837 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.7486, allocations: 291.4 kB / 0.9839 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.7486, allocations: 16 kB / 0.9839 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.7486, allocations: 16 kB / 0.984 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004777/0.7491, allocations: 265.9 kB / 0.9842 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.7491, allocations: 0 / 0.9842 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.7491, allocations: 15.94 kB / 0.9842 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.7491, allocations: 4 kB / 0.9842 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.7495, allocations: 147.8 kB / 0.9844 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.7509, allocations: 1.368 MB / 0.9857 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.7512, allocations: 183.7 kB / 0.9859 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.7514, allocations: 93.11 kB / 0.986 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003531/0.7518, allocations: 117.1 kB / 0.9861 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.7518, allocations: 46.44 kB / 0.9861 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.7518, allocations: 0 / 0.9861 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0006322/0.7524, allocations: 209.8 kB / 0.9863 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.7526, allocations: 187.9 kB / 0.9865 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.7529, allocations: 283 kB / 0.9868 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.7529, allocations: 33.7 kB / 0.9868 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.753, allocations: 151.9 kB / 0.987 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.7531, allocations: 35.69 kB / 0.987 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/0.7531, allocations: 41.83 kB / 0.987 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.7533, allocations: 334.8 kB / 0.9874 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.7534, allocations: 47.91 kB / 0.9874 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.7536, allocations: 119.6 kB / 0.9875 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.7539, allocations: 154.7 kB / 0.9877 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.754, allocations: 0 / 0.9877 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00039/0.7543, allocations: 193.3 kB / 0.9878 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.7544, allocations: 9.656 kB / 0.9879 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.7544, allocations: 4.219 kB / 0.9879 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.7544, allocations: 4 kB / 0.9879 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.7545, allocations: 31.92 kB / 0.9879 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.7545, allocations: 4 kB / 0.9879 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.7547, allocations: 31.77 kB / 0.9879 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.7547, allocations: 8 kB / 0.9879 GB, free: 1.984 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001425/0.7549, allocations: 149.8 kB / 0.9881 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.755, allocations: 31.8 kB / 0.9881 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/0.7553, allocations: 127 kB / 0.9882 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.7553, allocations: 4 kB / 0.9882 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.7554, allocations: 384 / 0.9882 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.7554, allocations: 4 kB / 0.9882 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009035/0.7563, allocations: 0.7768 MB / 0.989 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.7563, allocations: 8 kB / 0.989 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.7564, allocations: 23.98 kB / 0.989 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.7564, allocations: 4 kB / 0.989 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.7564, allocations: 0 / 0.989 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.7564, allocations: 4 kB / 0.989 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.7564, allocations: 3.938 kB / 0.989 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005534/0.757, allocations: 339.7 kB / 0.9894 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.7571, allocations: 109 kB / 0.9895 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.7571, allocations: 12.05 kB / 0.9895 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.7572, allocations: 4 kB / 0.9895 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.7573, allocations: 15.92 kB / 0.9895 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.7573, allocations: 4 kB / 0.9895 GB, free: 244 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002171/0.7575, allocations: 209.9 kB / 0.9897 GB, free: 36 kB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.7575, allocations: 0 / 0.9897 GB, free: 36 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003656/0.7579, allocations: 59.94 kB / 0.9898 GB, free: 15.97 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * 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.0003853/0.7583, allocations: 153.3 kB / 0.9899 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003636/0.7586, allocations: 119.8 kB / 0.99 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7586, allocations: 448 / 0.99 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.7588, allocations: 59.91 kB / 0.9901 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000724/0.7595, allocations: 125.1 kB / 0.9902 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009106/0.7604, allocations: 0.5017 MB / 0.9907 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.7608, allocations: 0.7597 MB / 0.9914 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.369e-05/0.7609, allocations: 23.44 kB / 0.9914 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.7609, allocations: 0 / 0.9914 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of Templates: time 0.006676/0.7676, allocations: 3.842 MB / 0.9952 GB, free: 10.37 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.272913574008271] Failed to read output from testmodel.py, exit status != 0: 0.7760089910589159 0.7891490440000001 0.039090316 Calling exit ...