Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 105.3 kB / 16.36 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 187.1 kB / 17.3 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.877/1.877, allocations: 292.3 MB / 0.5496 GB, free: 17.39 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 83.17 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2695, allocations: 114.5 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT): time 0.4958/0.7654, allocations: 87.55 MB / 0.8703 GB, free: 6.047 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04903/0.8145, allocations: 31.97 MB / 0.9015 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00617/0.8207, allocations: 169.6 kB / 0.9017 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.006406/0.8272, allocations: 1.718 MB / 0.9033 GB, free: 11.95 MB / 0.7012 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.01674/0.8439, allocations: 5.161 MB / 0.9084 GB, free: 7.855 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.026/0.87, allocations: 9.784 MB / 0.9179 GB, free: 0.6484 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.09893/0.9689, allocations: 108.2 MB / 1.024 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07253/1.041, allocations: 44.94 MB / 1.067 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.08345/1.125, allocations: 39.66 MB / 1.106 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.156/2.281, allocations: 62.31 MB / 1.167 GB, free: 90.12 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.04903/2.33, allocations: 7.107 MB / 1.174 GB, free: 90.12 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06791/2.398, allocations: 9.452 MB / 1.183 GB, free: 90.12 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.06395/2.462, allocations: 35.26 MB / 1.218 GB, free: 89.64 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.1254/2.587, allocations: 46.3 MB / 1.263 GB, free: 73.53 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.1698/2.757, allocations: 123.6 MB / 1.384 GB, free: 12.33 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/2.757, allocations: 0 / 1.384 GB, free: 12.33 MB / 0.9513 GB Notification: Performance of FrontEnd: time 1.884e-06/2.757, allocations: 0 / 1.384 GB, free: 12.33 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 0.005302/2.762, allocations: 0 / 1.384 GB, free: 12.33 MB / 0.9513 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22767 * Number of variables: 22767 Notification: Performance of Generate backend data structure: time 21.11/23.87, allocations: 2.449 GB / 3.833 GB, free: 240.6 MB / 1.124 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/23.87, allocations: 8.781 kB / 3.833 GB, free: 240.6 MB / 1.124 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05443/23.93, allocations: 8.731 MB / 3.841 GB, free: 231.8 MB / 1.124 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08547/24.01, allocations: 38.64 MB / 3.879 GB, free: 193.8 MB / 1.124 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004024/24.02, allocations: 4.553 MB / 3.884 GB, free: 189.3 MB / 1.124 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02962/24.05, allocations: 6.249 MB / 3.89 GB, free: 183.1 MB / 1.124 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3234/24.37, allocations: 147.3 MB / 4.034 GB, free: 33.06 MB / 1.124 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002753/24.37, allocations: 293.5 kB / 4.034 GB, free: 32.77 MB / 1.124 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02275/24.39, allocations: 2.63 MB / 4.036 GB, free: 30.21 MB / 1.124 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008115/24.4, allocations: 12.02 MB / 4.048 GB, free: 18.18 MB / 1.124 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7887/25.19, allocations: 142.1 MB / 4.187 GB, free: 297.5 MB / 1.124 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 1.647/26.84, allocations: 0.5461 GB / 4.733 GB, free: 166 MB / 1.171 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2647/27.1, allocations: 134.5 MB / 4.864 GB, free: 84.03 MB / 1.171 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1147/27.22, allocations: 62.09 MB / 4.925 GB, free: 21.88 MB / 1.171 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035/28.25, allocations: 242.3 MB / 5.162 GB, free: 252.6 MB / 1.187 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1146/28.37, allocations: 53.31 MB / 5.214 GB, free: 207.5 MB / 1.187 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03288/28.4, allocations: 6.134 MB / 5.22 GB, free: 201.3 MB / 1.187 GB Notification: Performance of pre-optimization done (n=6322): time 0.0001329/28.4, allocations: 0 / 5.22 GB, free: 201.3 MB / 1.187 GB Notification: Performance of matching and sorting (n=6918): time 5.281/33.68, allocations: 0.9999 GB / 6.22 GB, free: 96.4 MB / 1.187 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006414/33.68, allocations: 0.7647 MB / 6.22 GB, free: 95.62 MB / 1.187 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07987/33.76, allocations: 41.99 MB / 6.261 GB, free: 53.86 MB / 1.187 GB Notification: Performance of collectPreVariables (initialization): time 0.02196/33.78, allocations: 1.349 MB / 6.263 GB, free: 52.5 MB / 1.187 GB Notification: Performance of collectInitialEqns (initialization): time 0.5369/34.32, allocations: 34.11 MB / 6.296 GB, free: 334.8 MB / 1.187 GB Notification: Performance of collectInitialBindings (initialization): time 0.03874/34.36, allocations: 24.32 MB / 6.32 GB, free: 316.5 MB / 1.187 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.09225/34.45, allocations: 16.77 MB / 6.336 GB, free: 309.4 MB / 1.187 GB Notification: Performance of setup shared object (initialization): time 4.383e-05/34.45, allocations: 305.8 kB / 6.336 GB, free: 309.1 MB / 1.187 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1054/34.56, allocations: 49.37 MB / 6.385 GB, free: 291.2 MB / 1.187 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.12/34.68, allocations: 74.34 MB / 6.457 GB, free: 245 MB / 1.187 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2615/34.94, allocations: 130 MB / 6.584 GB, free: 137.9 MB / 1.187 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001287/34.94, allocations: 204 kB / 6.584 GB, free: 137.7 MB / 1.187 GB Notification: Performance of matching and sorting (n=11374) (initialization): time 0.8624/35.8, allocations: 132.6 MB / 6.714 GB, free: 259.5 MB / 1.187 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009275/35.8, allocations: 312.6 kB / 6.714 GB, free: 259.5 MB / 1.187 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001882/35.81, allocations: 0.7002 MB / 6.715 GB, free: 259.5 MB / 1.187 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002702/35.81, allocations: 1.143 MB / 6.716 GB, free: 259.5 MB / 1.187 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.477/37.29, allocations: 186.5 MB / 6.898 GB, free: 217 MB / 1.187 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1092/37.39, allocations: 192 MB / 7.086 GB, free: 60.65 MB / 1.218 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.096/37.49, allocations: 6.21 MB / 7.092 GB, free: 54.52 MB / 1.218 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.02542/37.52, allocations: 4.221 MB / 7.096 GB, free: 50.3 MB / 1.218 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.1511/37.67, allocations: 65 MB / 7.159 GB, free: 1.238 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.7169/38.38, allocations: 70.45 MB / 7.228 GB, free: 300.7 MB / 1.233 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2447/38.63, allocations: 122.1 MB / 7.347 GB, free: 232.1 MB / 1.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.001524/38.63, allocations: 211 kB / 7.348 GB, free: 232.1 MB / 1.233 GB Notification: Performance of matching and sorting (n=11374) (initialization_lambda0): time 0.3302/38.96, allocations: 124.4 MB / 7.469 GB, free: 146.6 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 0.002582/38.96, allocations: 312.8 kB / 7.469 GB, free: 146.3 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00289/38.97, allocations: 0.6953 MB / 7.47 GB, free: 145.6 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002747/38.97, allocations: 1.145 MB / 7.471 GB, free: 144.5 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2093/39.18, allocations: 40.98 MB / 7.511 GB, free: 105.3 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/39.18, allocations: 1.592 MB / 7.513 GB, free: 103.7 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09581/39.28, allocations: 5.917 MB / 7.519 GB, free: 97.84 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.02195/39.3, allocations: 4.062 MB / 7.523 GB, free: 93.78 MB / 1.233 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3259 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.DataReader.nextTimeEvent,$whenCondition1,lessThreshold.y,DataReader.nextTimeEventScaled,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11374): * Single equations (assignments): 11082 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 292 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 292 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.05647/39.35, allocations: 5.799 MB / 7.528 GB, free: 88.04 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03054/39.39, allocations: 5.353 MB / 7.533 GB, free: 85.33 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.9634/40.35, allocations: 116.8 MB / 7.648 GB, free: 261.8 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2213/40.57, allocations: 94.3 MB / 7.74 GB, free: 227.4 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002283/40.57, allocations: 0 / 7.74 GB, free: 227.4 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05254/40.62, allocations: 17.4 MB / 7.757 GB, free: 222.6 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02901/40.65, allocations: 1.467 MB / 7.758 GB, free: 221.6 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.07197/40.72, allocations: 4.2 MB / 7.762 GB, free: 220.4 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.02731/40.75, allocations: 4.47 MB / 7.766 GB, free: 219.8 MB / 1.233 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3874/41.14, allocations: 134.8 MB / 7.898 GB, free: 162.8 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.3479/41.49, allocations: 174.1 MB / 8.068 GB, free: 7.055 MB / 1.249 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.7512/42.24, allocations: 52.89 MB / 8.12 GB, free: 290.9 MB / 1.249 GB Notification: Performance of sorting global known variables: time 0.06371/42.3, allocations: 27.61 MB / 8.147 GB, free: 282.2 MB / 1.249 GB Notification: Performance of Backend: time 6.71e-07/42.3, allocations: 0 / 8.147 GB, free: 282.2 MB / 1.249 GB Notification: Performance of simCode: created initialization part: time 2.328/44.63, allocations: 348.3 MB / 8.487 GB, free: 47.57 MB / 1.249 GB Notification: Performance of SimCode: time 1.008/45.64, allocations: 164.6 MB / 8.648 GB, free: 283.6 MB / 1.265 GB Notification: Performance of Templates: time 4.068/49.71, allocations: 1.689 GB / 10.34 GB, free: 65.81 MB / 1.296 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT.pipe 2>&1)