Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001244/0.001244, allocations: 101.7 kB / 19.59 MB, free: 2.324 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.001275/0.001275, allocations: 194 kB / 22.85 MB, free: 5.652 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.33/1.33, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 179] 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.002372/0.002372, allocations: 292.7 kB / 307 MB, free: 8.355 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.159/1.159, allocations: 180.8 MB / 0.5304 GB, free: 14.47 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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00272/0.00272, allocations: 103 kB / 0.7311 GB, free: 38.78 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1535, allocations: 94.19 MB / 0.8231 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1884/0.3418, allocations: 166.5 MB / 0.9856 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008172/0.35, allocations: 6.554 MB / 0.992 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004315/0.3504, allocations: 19.81 kB / 0.992 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000563/0.351, allocations: 182.7 kB / 0.9922 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.3532, allocations: 0.883 MB / 0.9931 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000914/0.3541, allocations: 341.8 kB / 0.9934 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009799/0.3551, allocations: 0.7368 MB / 0.9941 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004285/0.3555, allocations: 215.8 kB / 0.9943 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.3567, allocations: 0.5876 MB / 0.9949 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004889/0.3572, allocations: 282.9 kB / 0.9952 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.343e-05/0.3573, allocations: 24 kB / 0.9952 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005746/0.3578, allocations: 307.2 kB / 0.9955 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.358, allocations: 103.7 kB / 0.9956 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.3582, allocations: 171.1 kB / 0.9958 GB, free: 464 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006776/0.3588, allocations: 462.2 kB / 0.9962 GB, free: 0 / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.3588, allocations: 0 / 0.9962 GB, free: 0 / 0.7325 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3588, allocations: 0 / 0.9962 GB, free: 0 / 0.7325 GB Notification: Performance of Transformations before backend: time 2.869e-05/0.3589, allocations: 4.047 kB / 0.9962 GB, free: 15.99 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008426/0.3597, allocations: 0.5495 MB / 0.9967 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.3597, allocations: 11.97 kB / 0.9967 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003021/0.36, allocations: 63.73 kB / 0.9968 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/0.3605, allocations: 271.5 kB / 0.9971 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.3606, allocations: 16.66 kB / 0.9971 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/0.3606, allocations: 28 kB / 0.9971 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/0.3611, allocations: 316.9 kB / 0.9974 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3612, allocations: 0 / 0.9974 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.3612, allocations: 12 kB / 0.9974 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.3612, allocations: 8 kB / 0.9974 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.3616, allocations: 209.5 kB / 0.9976 GB, free: 14.45 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.3632, allocations: 1.481 MB / 0.9991 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.3634, allocations: 118.4 kB / 0.9992 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.3636, allocations: 88.8 kB / 0.9993 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004535/0.3641, allocations: 72.16 kB / 0.9993 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3641, allocations: 42.56 kB / 0.9994 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.3641, allocations: 4 kB / 0.9994 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0007263/0.3648, allocations: 270.6 kB / 0.9996 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.3649, allocations: 51.41 kB / 0.9997 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.3652, allocations: 308.5 kB / 1 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.3652, allocations: 33.64 kB / 1 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.3653, allocations: 184.2 kB / 1 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.3654, allocations: 47.58 kB / 1 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-05/0.3654, allocations: 41.66 kB / 1 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3656, allocations: 338.8 kB / 1.001 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.3657, allocations: 55.95 kB / 1.001 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.3659, allocations: 113.1 kB / 1.001 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.3663, allocations: 177 kB / 1.001 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.3663, allocations: 3.938 kB / 1.001 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004135/0.3667, allocations: 213.3 kB / 1.001 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3667, allocations: 10.03 kB / 1.001 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3667, allocations: 3.938 kB / 1.001 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3667, allocations: 4 kB / 1.001 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.3669, allocations: 36.08 kB / 1.001 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3669, allocations: 4 kB / 1.001 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.3671, allocations: 27.83 kB / 1.001 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.3671, allocations: 11.98 kB / 1.001 GB, free: 10.51 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001466/0.3672, allocations: 150.4 kB / 1.001 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/0.3673, allocations: 35.84 kB / 1.001 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.3677, allocations: 208.3 kB / 1.002 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3677, allocations: 4 kB / 1.002 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.3677, allocations: 0 / 1.002 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3678, allocations: 3.984 kB / 1.002 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.3689, allocations: 0.6551 MB / 1.002 GB, free: 9.379 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.3689, allocations: 4 kB / 1.002 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.369, allocations: 31.97 kB / 1.002 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.369, allocations: 4 kB / 1.002 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.369, allocations: 4 kB / 1.002 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.369, allocations: 8 kB / 1.002 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.369, allocations: 12.16 kB / 1.002 GB, free: 9.316 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005066/0.3695, allocations: 330.4 kB / 1.003 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.725e-05/0.3696, allocations: 39.78 kB / 1.003 GB, free: 8.918 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.3697, allocations: 8 kB / 1.003 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.3699, allocations: 11.92 kB / 1.003 GB, free: 8.898 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.3699, allocations: 19.92 kB / 1.003 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.3699, allocations: 4 kB / 1.003 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002491/0.3702, allocations: 231 kB / 1.003 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7e-08/0.3702, allocations: 0 / 1.003 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004122/0.3706, allocations: 71.83 kB / 1.003 GB, free: 8.578 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0004612/0.371, allocations: 154.1 kB / 1.003 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004411/0.3715, allocations: 151.8 kB / 1.003 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3715, allocations: 3.938 kB / 1.003 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.3717, allocations: 80.45 kB / 1.003 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007926/0.3725, allocations: 159.2 kB / 1.004 GB, free: 8.043 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009414/0.3734, allocations: 0.5457 MB / 1.004 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.3738, allocations: 0.7795 MB / 1.005 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001831/0.374, allocations: 58.94 kB / 1.005 GB, free: 6.59 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.374, allocations: 27.44 kB / 1.005 GB, free: 6.562 MB / 0.7481 GB Notification: Performance of SimCode: time 4.7e-07/0.374, allocations: 4 kB / 1.005 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of Templates: time 0.01053/0.3846, allocations: 5.267 MB / 1.01 GB, free: 1.379 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.170662944998185] Failed to read output from testmodel.py, exit status != 0: 0.6851604819967179 0.696875169 0.33525284499999997 Calling exit ...