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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 213.9 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.379/1.379, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002495/0.002495, allocations: 290.6 kB / 313.5 MB, free: 2.605 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.195/1.195, allocations: 180.6 MB / 0.5377 GB, free: 14.54 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 100.7 kB / 0.7407 GB, free: 27.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1834, allocations: 95.38 MB / 0.8339 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1947/0.3782, allocations: 147.8 MB / 0.9782 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4407/0.8189, allocations: 5.999 MB / 0.9841 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004649/0.8193, allocations: 18.25 kB / 0.9841 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005209/0.8199, allocations: 173.5 kB / 0.9842 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.8219, allocations: 0.8424 MB / 0.9851 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008307/0.8227, allocations: 342.6 kB / 0.9854 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007823/0.8235, allocations: 0.7257 MB / 0.9861 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003498/0.8238, allocations: 218.3 kB / 0.9863 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.825, allocations: 0.5637 MB / 0.9869 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000434/0.8254, allocations: 273.8 kB / 0.9871 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.827e-05/0.8254, allocations: 23.47 kB / 0.9871 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006127/0.8261, allocations: 297.1 kB / 0.9874 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.8262, allocations: 113.1 kB / 0.9875 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.8264, allocations: 139.5 kB / 0.9877 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007344/0.8271, allocations: 468.5 kB / 0.9881 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.8271, allocations: 3.844 kB / 0.9881 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8271, allocations: 0 / 0.9881 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.8271, allocations: 1.031 kB / 0.9881 GB, free: 3.832 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001036/0.8282, allocations: 0.5517 MB / 0.9887 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.8282, allocations: 10.69 kB / 0.9887 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003283/0.8285, allocations: 62.94 kB / 0.9887 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005201/0.829, allocations: 263.7 kB / 0.989 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.8291, allocations: 19.81 kB / 0.989 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.8291, allocations: 29.16 kB / 0.989 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/0.8296, allocations: 318.2 kB / 0.9893 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.8296, allocations: 8.422 kB / 0.9893 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.8296, allocations: 9.688 kB / 0.9893 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.8297, allocations: 6.156 kB / 0.9893 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/0.83, allocations: 202.9 kB / 0.9895 GB, free: 19.18 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.001287/0.8313, allocations: 1.127 MB / 0.9906 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.8315, allocations: 114.7 kB / 0.9908 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.8317, allocations: 94.38 kB / 0.9908 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004226/0.8321, allocations: 72.83 kB / 0.9909 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.8321, allocations: 36.81 kB / 0.9909 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.8321, allocations: 0.7812 kB / 0.9909 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0006681/0.8328, allocations: 264.9 kB / 0.9912 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.8329, allocations: 54.34 kB / 0.9913 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.833, allocations: 225.9 kB / 0.9915 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.8331, allocations: 27.7 kB / 0.9915 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.8332, allocations: 198.2 kB / 0.9917 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.8332, allocations: 47.55 kB / 0.9917 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.8333, allocations: 42.16 kB / 0.9918 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.8334, allocations: 333.9 kB / 0.9921 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.8335, allocations: 57.06 kB / 0.9921 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.8338, allocations: 187.1 kB / 0.9923 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.834, allocations: 181.4 kB / 0.9925 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.834, allocations: 0 / 0.9925 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003619/0.8344, allocations: 214.2 kB / 0.9927 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.8344, allocations: 7.875 kB / 0.9927 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.8344, allocations: 0.7969 kB / 0.9927 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.8344, allocations: 3.594 kB / 0.9927 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.8346, allocations: 31.22 kB / 0.9927 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.8346, allocations: 7.328 kB / 0.9927 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.8347, allocations: 19.86 kB / 0.9928 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.8348, allocations: 6.875 kB / 0.9928 GB, free: 17.38 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.0001397/0.8349, allocations: 150.9 kB / 0.9929 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.8349, allocations: 26.83 kB / 0.9929 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003942/0.8353, allocations: 207.1 kB / 0.9931 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.8353, allocations: 0.6562 kB / 0.9931 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.8353, allocations: 2.625 kB / 0.9931 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.8353, allocations: 4.875 kB / 0.9931 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008813/0.8362, allocations: 0.5963 MB / 0.9937 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.8362, allocations: 2.625 kB / 0.9937 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.8363, allocations: 30.91 kB / 0.9938 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.8364, allocations: 3.891 kB / 0.9938 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.8364, allocations: 7.891 kB / 0.9938 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.8364, allocations: 2.938 kB / 0.9938 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8364, allocations: 3.531 kB / 0.9938 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.8368, allocations: 338.8 kB / 0.9941 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.23e-05/0.8368, allocations: 43.83 kB / 0.9941 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.8369, allocations: 4.328 kB / 0.9941 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.837, allocations: 13.22 kB / 0.9942 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.8371, allocations: 15.56 kB / 0.9942 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.8371, allocations: 8.422 kB / 0.9942 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001272/0.8372, allocations: 161.8 kB / 0.9943 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8372, allocations: 1.031 kB / 0.9943 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003723/0.8376, allocations: 80.3 kB / 0.9944 GB, free: 16.61 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.0002454/0.8378, allocations: 136.5 kB / 0.9945 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000351/0.8382, allocations: 153.3 kB / 0.9947 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8382, allocations: 0 / 0.9947 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.8383, allocations: 81.69 kB / 0.9948 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005644/0.8389, allocations: 91.97 kB / 0.9949 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007524/0.8396, allocations: 0.5657 MB / 0.9954 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.8398, allocations: 172.5 kB / 0.9956 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.8399, allocations: 20.47 kB / 0.9956 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.8399, allocations: 1.812 kB / 0.9956 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of Templates: time 0.007411/0.8473, allocations: 3.923 MB / 0.9994 GB, free: 15.92 MB / 0.7325 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.473399721086025] Failed to read output from testmodel.py, exit status != 0: 0.8546389462426305 0.865446148 0.036023433 Calling exit ...