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.001507/0.001507, allocations: 117.5 kB / 17.13 MB, free: 5.941 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.001552/0.001552, allocations: 198.2 kB / 20.08 MB, free: 3.004 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.4/1.4, allocations: 225.6 MB / 248.5 MB, free: 3.613 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.002326/0.002326, allocations: 287.5 kB / 303.6 MB, free: 3.613 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.684 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.002716/0.002716, allocations: 103.8 kB / 0.7259 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5241/0.5268, allocations: 94.16 MB / 0.8179 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2017/0.7285, allocations: 168.1 MB / 0.982 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007839/0.7363, allocations: 6.567 MB / 0.9884 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004573/0.7368, allocations: 11.94 kB / 0.9884 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005464/0.7373, allocations: 178.7 kB / 0.9886 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.7394, allocations: 0.8713 MB / 0.9895 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008897/0.7403, allocations: 330.2 kB / 0.9898 GB, free: 460 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008417/0.7411, allocations: 0.7289 MB / 0.9905 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004107/0.7416, allocations: 222.9 kB / 0.9907 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.7427, allocations: 0.5759 MB / 0.9913 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004179/0.7431, allocations: 283 kB / 0.9915 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.233e-05/0.7431, allocations: 20 kB / 0.9916 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006608/0.7438, allocations: 367.1 kB / 0.9919 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.7439, allocations: 111.6 kB / 0.992 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.7441, allocations: 159.2 kB / 0.9922 GB, free: 14 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006662/0.7448, allocations: 478.1 kB / 0.9926 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7448, allocations: 0 / 0.9926 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7448, allocations: 0 / 0.9926 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.7448, allocations: 4 kB / 0.9926 GB, free: 13.52 MB / 0.7325 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.0008824/0.7457, allocations: 0.619 MB / 0.9932 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.7457, allocations: 8.031 kB / 0.9932 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002977/0.746, allocations: 63.73 kB / 0.9933 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004869/0.7465, allocations: 333.3 kB / 0.9936 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.7465, allocations: 20.56 kB / 0.9936 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.7465, allocations: 27.98 kB / 0.9937 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005396/0.7471, allocations: 319.7 kB / 0.994 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.7471, allocations: 0 / 0.994 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.7471, allocations: 12 kB / 0.994 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.7471, allocations: 8 kB / 0.994 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.7476, allocations: 201.5 kB / 0.9942 GB, free: 11.82 MB / 0.7325 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.00158/0.7491, allocations: 1.535 MB / 0.9957 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.7494, allocations: 118.4 kB / 0.9958 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.7496, allocations: 84.8 kB / 0.9959 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005807/0.7502, allocations: 303.2 kB / 0.9962 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.7502, allocations: 34.56 kB / 0.9962 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.7502, allocations: 0 / 0.9962 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007572/0.7509, allocations: 277.1 kB / 0.9965 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.751, allocations: 55.41 kB / 0.9965 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.7513, allocations: 312.5 kB / 0.9968 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.7514, allocations: 25.7 kB / 0.9968 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.7515, allocations: 188.3 kB / 0.997 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.7515, allocations: 43.58 kB / 0.9971 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.352e-05/0.7516, allocations: 49.59 kB / 0.9971 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.7518, allocations: 338.8 kB / 0.9974 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.7519, allocations: 55.95 kB / 0.9975 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.7521, allocations: 113.1 kB / 0.9976 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.7525, allocations: 173 kB / 0.9978 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.7525, allocations: 7.875 kB / 0.9978 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004257/0.7529, allocations: 217.3 kB / 0.998 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.7529, allocations: 6.031 kB / 0.998 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.7529, allocations: 8 kB / 0.998 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.7529, allocations: 0 / 0.998 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.7531, allocations: 39.92 kB / 0.998 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.7531, allocations: 0 / 0.998 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.7533, allocations: 27.83 kB / 0.998 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.7533, allocations: 12.16 kB / 0.9981 GB, free: 7.543 MB / 0.7325 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.0001519/0.7535, allocations: 153.7 kB / 0.9982 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.547e-05/0.7535, allocations: 31.8 kB / 0.9982 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000447/0.754, allocations: 200.3 kB / 0.9984 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.754, allocations: 4.031 kB / 0.9984 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.754, allocations: 4 kB / 0.9984 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.754, allocations: 0 / 0.9984 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.755, allocations: 0.6875 MB / 0.9991 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.755, allocations: 4.062 kB / 0.9991 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.7551, allocations: 31.97 kB / 0.9991 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.7551, allocations: 3.938 kB / 0.9991 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.7551, allocations: 4 kB / 0.9991 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.7551, allocations: 7.938 kB / 0.9992 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.7551, allocations: 3.938 kB / 0.9992 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/0.7556, allocations: 341.3 kB / 0.9995 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.7557, allocations: 124.8 kB / 0.9996 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.7558, allocations: 7.938 kB / 0.9996 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.7559, allocations: 19.92 kB / 0.9996 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.756, allocations: 7.984 kB / 0.9996 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.756, allocations: 12.06 kB / 0.9996 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000218/0.7562, allocations: 219.1 kB / 0.9999 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.7562, allocations: 0 / 0.9999 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003643/0.7566, allocations: 75.88 kB / 0.9999 GB, free: 5.477 MB / 0.7325 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.000404/0.757, allocations: 155.8 kB / 1 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004252/0.7574, allocations: 159.8 kB / 1 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7574, allocations: 0 / 1 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.7576, allocations: 75.89 kB / 1 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008584/0.7584, allocations: 157.2 kB / 1 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009076/0.7593, allocations: 0.5734 MB / 1.001 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.7597, allocations: 0.7834 MB / 1.002 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/0.7598, allocations: 23.44 kB / 1.002 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.7598, allocations: 0 / 1.002 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of Templates: time 0.007466/0.7673, allocations: 4.583 MB / 1.006 GB, free: 14.95 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.300792839145288] Failed to read output from testmodel.py, exit status != 0: 0.7754069869406521 0.7876804500000001 0.040063751 Calling exit ...