Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.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.001317/0.001317, allocations: 79.67 kB / 19.18 MB, free: 2.516 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.001507/0.001507, allocations: 163.3 kB / 22.46 MB, free: 5.375 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.43/1.43, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.002604/0.002604, allocations: 230.5 kB / 259.4 MB, free: 480 kB / 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.047/1.047, allocations: 138.4 MB / 454.3 MB, free: 1.965 MB / 366.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.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter") translateModel(BuildingSystems.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.6468 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.393e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.2849/0.2849, allocations: 21.42 MB / 0.6677 GB, free: 44.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005293/0.2902, allocations: 4.739 MB / 0.6724 GB, free: 41.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004817/0.2907, allocations: 41.97 kB / 0.6724 GB, free: 41.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006105/0.2913, allocations: 287.3 kB / 0.6727 GB, free: 41.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.2928, allocations: 0.8583 MB / 0.6735 GB, free: 40.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.2942, allocations: 0.8118 MB / 0.6743 GB, free: 40.47 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001334/0.2955, allocations: 1.644 MB / 0.6759 GB, free: 39.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005019/0.296, allocations: 401.4 kB / 0.6763 GB, free: 39.49 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.2974, allocations: 0.8197 MB / 0.6771 GB, free: 39.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005187/0.298, allocations: 411.8 kB / 0.6775 GB, free: 39 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.377e-05/0.298, allocations: 47.38 kB / 0.6775 GB, free: 39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007278/0.2988, allocations: 429 kB / 0.6779 GB, free: 38.85 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.2989, allocations: 153.6 kB / 0.6781 GB, free: 38.76 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.2991, allocations: 207.6 kB / 0.6783 GB, free: 38.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.3003, allocations: 0.9503 MB / 0.6792 GB, free: 38.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3003, allocations: 0.6562 kB / 0.6792 GB, free: 38.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3003, allocations: 0 / 0.6792 GB, free: 38.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.3003, allocations: 0 / 0.6792 GB, free: 38.34 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001205/0.3015, allocations: 0.8268 MB / 0.68 GB, free: 37.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3015, allocations: 13.8 kB / 0.68 GB, free: 37.74 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.3018, allocations: 74.06 kB / 0.6801 GB, free: 37.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000925/0.3027, allocations: 0.4991 MB / 0.6806 GB, free: 37.4 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.3027, allocations: 31.91 kB / 0.6806 GB, free: 37.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.993e-05/0.3028, allocations: 51.97 kB / 0.6807 GB, free: 37.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006662/0.3034, allocations: 0.5109 MB / 0.6812 GB, free: 37.05 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.3034, allocations: 0 / 0.6812 GB, free: 37.05 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.3035, allocations: 14.94 kB / 0.6812 GB, free: 37.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.3035, allocations: 12.34 kB / 0.6812 GB, free: 37.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/0.304, allocations: 306.3 kB / 0.6815 GB, free: 36.94 MB / 0.5606 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.002114/0.3061, allocations: 1.445 MB / 0.6829 GB, free: 36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004589/0.3065, allocations: 238.4 kB / 0.6831 GB, free: 35.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.3067, allocations: 115.7 kB / 0.6832 GB, free: 35.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004817/0.3072, allocations: 106.7 kB / 0.6833 GB, free: 35.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.3072, allocations: 37.38 kB / 0.6834 GB, free: 35.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=26): time 1.593e-06/0.3072, allocations: 0 / 0.6834 GB, free: 35.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26): time 0.0006826/0.3079, allocations: 357.1 kB / 0.6837 GB, free: 35.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.3079, allocations: 54.72 kB / 0.6838 GB, free: 35.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004362/0.3084, allocations: 397 kB / 0.6841 GB, free: 35.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.3084, allocations: 32.45 kB / 0.6842 GB, free: 35.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.3085, allocations: 278.8 kB / 0.6844 GB, free: 35.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.349e-05/0.3086, allocations: 98.95 kB / 0.6845 GB, free: 35.06 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.3087, allocations: 77.56 kB / 0.6846 GB, free: 35.01 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.991e-05/0.3088, allocations: 352.9 kB / 0.6849 GB, free: 34.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.3089, allocations: 99 kB / 0.685 GB, free: 34.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.3092, allocations: 244.4 kB / 0.6853 GB, free: 34.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.3095, allocations: 282.4 kB / 0.6855 GB, free: 34.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3095, allocations: 4 kB / 0.6855 GB, free: 34.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005745/0.3101, allocations: 358.8 kB / 0.6859 GB, free: 34.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3101, allocations: 5.719 kB / 0.6859 GB, free: 34.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3101, allocations: 1.688 kB / 0.6859 GB, free: 34.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3102, allocations: 3.906 kB / 0.6859 GB, free: 34.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.3104, allocations: 73.92 kB / 0.686 GB, free: 34.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3105, allocations: 11.5 kB / 0.686 GB, free: 34.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.3107, allocations: 41.59 kB / 0.686 GB, free: 34.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.3107, allocations: 12.92 kB / 0.686 GB, free: 34.09 MB / 0.5606 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 (39): * Single equations (assignments): 39 * 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.0001769/0.3109, allocations: 183.9 kB / 0.6862 GB, free: 33.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.668e-05/0.311, allocations: 45.7 kB / 0.6863 GB, free: 33.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008521/0.3118, allocations: 469.5 kB / 0.6867 GB, free: 33.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.3119, allocations: 9.172 kB / 0.6867 GB, free: 33.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3119, allocations: 4 kB / 0.6867 GB, free: 33.72 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005876/0.3125, allocations: 0.5769 MB / 0.6873 GB, free: 33.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.3141, allocations: 0.9558 MB / 0.6882 GB, free: 32.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.3141, allocations: 1.312 kB / 0.6882 GB, free: 32.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.3143, allocations: 47.56 kB / 0.6883 GB, free: 32.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3143, allocations: 5.781 kB / 0.6883 GB, free: 32.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.3144, allocations: 17.25 kB / 0.6883 GB, free: 32.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.3144, allocations: 12.03 kB / 0.6883 GB, free: 32.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3144, allocations: 5.75 kB / 0.6883 GB, free: 32.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007897/0.3152, allocations: 0.6641 MB / 0.6889 GB, free: 32.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.3153, allocations: 90.72 kB / 0.689 GB, free: 32.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.594e-05/0.3154, allocations: 8.781 kB / 0.689 GB, free: 32.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.3157, allocations: 14.19 kB / 0.6891 GB, free: 32.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.3157, allocations: 25.52 kB / 0.6891 GB, free: 32.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/0.3157, allocations: 22.19 kB / 0.6891 GB, free: 32.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003542/0.3161, allocations: 275.3 kB / 0.6894 GB, free: 32.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.3161, allocations: 0 / 0.6894 GB, free: 32.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001317/0.3174, allocations: 213.2 kB / 0.6896 GB, free: 32.09 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0008121/0.3182, allocations: 283.7 kB / 0.6898 GB, free: 31.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006245/0.3188, allocations: 285.9 kB / 0.6901 GB, free: 31.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3188, allocations: 1.375 kB / 0.6901 GB, free: 31.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.3191, allocations: 160.4 kB / 0.6903 GB, free: 31.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.3204, allocations: 261.6 kB / 0.6905 GB, free: 31.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.3223, allocations: 0.9879 MB / 0.6915 GB, free: 31.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.3226, allocations: 263.1 kB / 0.6917 GB, free: 31.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003648/0.323, allocations: 108.8 kB / 0.6918 GB, free: 30.99 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.3231, allocations: 52.06 kB / 0.6919 GB, free: 30.98 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.3231, allocations: 0 / 0.6919 GB, free: 30.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.02041/0.3435, allocations: 10.77 MB / 0.7024 GB, free: 28.7 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.38291859254241] Failed to read output from testmodel.py, exit status != 0: 0.35141463577747345 0.362256153 0.059308932 Calling exit ...