Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008035/0.0008031, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005542/0.005542, allocations: 171.7 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.812/2.812, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003338, allocations: 10.06 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3319, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes): time 0.08773/0.4197, allocations: 89.71 MB / 1.162 GB, free: 13.5 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.04963/0.4694, allocations: 32.93 MB / 1.194 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005629/0.4751, allocations: 174.6 kB / 1.194 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.006126/0.4812, allocations: 1.469 MB / 1.196 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01429/0.4956, allocations: 4.882 MB / 1.2 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.02436/0.52, allocations: 8.647 MB / 1.209 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0245/0.5445, allocations: 19.55 MB / 1.228 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007121/0.5516, allocations: 3.519 MB / 1.231 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01134/0.563, allocations: 4.565 MB / 1.236 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009715/0.5728, allocations: 4.808 MB / 1.24 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001843/0.5747, allocations: 244 kB / 1.241 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008119/0.5828, allocations: 2.472 MB / 1.243 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003976/0.5868, allocations: 1.866 MB / 1.245 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006243/0.5931, allocations: 2.61 MB / 1.247 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6223/1.215, allocations: 8.15 MB / 1.255 GB, free: 35.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/1.215, allocations: 2.5 kB / 1.255 GB, free: 35.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.366e-06/1.215, allocations: 0 / 1.255 GB, free: 35.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0005107/1.216, allocations: 0 / 1.255 GB, free: 35.93 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.01852/1.235, allocations: 4.976 MB / 1.26 GB, free: 34.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/1.235, allocations: 9.625 kB / 1.26 GB, free: 34.02 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003847/1.238, allocations: 0.58 MB / 1.261 GB, free: 33.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008315/1.247, allocations: 3.169 MB / 1.264 GB, free: 32.98 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003137/1.247, allocations: 288.9 kB / 1.264 GB, free: 32.98 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001612/1.249, allocations: 388.9 kB / 1.265 GB, free: 32.97 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01648/1.265, allocations: 6.018 MB / 1.27 GB, free: 32.28 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001984/1.265, allocations: 23.75 kB / 1.27 GB, free: 32.28 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001257/1.267, allocations: 166.2 kB / 1.271 GB, free: 32.28 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008514/1.268, allocations: 455.8 kB / 1.271 GB, free: 32.27 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01264/1.28, allocations: 5.34 MB / 1.276 GB, free: 32.23 MB / 0.9981 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.03576/1.316, allocations: 24.32 MB / 1.3 GB, free: 19.89 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008261/1.324, allocations: 4.499 MB / 1.304 GB, free: 19.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003843/1.328, allocations: 2.427 MB / 1.307 GB, free: 19.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0216/1.35, allocations: 12.42 MB / 1.319 GB, free: 30.25 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003832/1.354, allocations: 2.236 MB / 1.321 GB, free: 30.14 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003069/1.357, allocations: 0.5611 MB / 1.322 GB, free: 29.94 MB / 1.014 GB Notification: Performance of pre-optimization done (n=310): time 1.6e-05/1.357, allocations: 0 / 1.322 GB, free: 29.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=334): time 0.02839/1.385, allocations: 13.24 MB / 1.335 GB, free: 28.54 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.438e-05/1.385, allocations: 112.7 kB / 1.335 GB, free: 28.44 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004972/1.39, allocations: 3.154 MB / 1.338 GB, free: 28.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004782/1.391, allocations: 100.4 kB / 1.338 GB, free: 28.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001492/1.392, allocations: 2.054 MB / 1.34 GB, free: 27.33 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008692/1.393, allocations: 1.159 MB / 1.341 GB, free: 26.59 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005166/1.394, allocations: 325 kB / 1.341 GB, free: 26.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.394, allocations: 304.5 kB / 1.342 GB, free: 26.27 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002997/1.397, allocations: 1.951 MB / 1.343 GB, free: 26.26 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003629/1.4, allocations: 2.988 MB / 1.346 GB, free: 25.18 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007079/1.408, allocations: 5.209 MB / 1.352 GB, free: 23.57 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-05/1.408, allocations: 5.75 kB / 1.352 GB, free: 23.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.009183/1.417, allocations: 5.606 MB / 1.357 GB, free: 21.44 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004799/1.417, allocations: 0.9181 MB / 1.358 GB, free: 20.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-05/1.417, allocations: 27.47 kB / 1.358 GB, free: 20.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.907e-05/1.417, allocations: 51.19 kB / 1.358 GB, free: 20.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03325/1.451, allocations: 4.152 MB / 1.362 GB, free: 18.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/1.454, allocations: 3.972 MB / 1.366 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005496/1.459, allocations: 379.2 kB / 1.366 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/1.46, allocations: 196.8 kB / 1.366 GB, free: 14.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/1.46, allocations: 3.969 kB / 1.366 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009298/1.469, allocations: 5.078 MB / 1.371 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.561e-05/1.47, allocations: 30.22 kB / 1.371 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.302e-05/1.47, allocations: 47.59 kB / 1.371 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005997/1.476, allocations: 1.352 MB / 1.373 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.414e-05/1.476, allocations: 67.69 kB / 1.373 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004675/1.48, allocations: 358.7 kB / 1.373 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007448/1.481, allocations: 191.9 kB / 1.373 GB, free: 11.59 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * 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 (512): * Single equations (assignments): 506 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004141/1.485, allocations: 1.255 MB / 1.375 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001362/1.487, allocations: 407 kB / 1.375 GB, free: 9.977 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/1.498, allocations: 5.38 MB / 1.38 GB, free: 4.641 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.058e-05/1.498, allocations: 39.98 kB / 1.38 GB, free: 4.602 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/1.498, allocations: 0 / 1.38 GB, free: 4.602 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006736/1.505, allocations: 4.278 MB / 1.384 GB, free: 268 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02111/1.526, allocations: 11.9 MB / 1.396 GB, free: 4.289 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.408e-05/1.526, allocations: 18.38 kB / 1.396 GB, free: 4.277 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0332/1.559, allocations: 3.741 MB / 1.4 GB, free: 0.5703 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.487e-05/1.559, allocations: 24 kB / 1.4 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005296/1.56, allocations: 115.9 kB / 1.4 GB, free: 444 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002409/1.562, allocations: 3.872 MB / 1.404 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.417e-05/1.562, allocations: 14.81 kB / 1.404 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/1.575, allocations: 8.022 MB / 1.412 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002832/1.577, allocations: 0.9681 MB / 1.412 GB, free: 3.141 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009915/1.579, allocations: 87.98 kB / 1.413 GB, free: 3.055 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003812/1.582, allocations: 284.3 kB / 1.413 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005217/1.583, allocations: 278.4 kB / 1.413 GB, free: 2.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004068/1.583, allocations: 167.9 kB / 1.413 GB, free: 2.355 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003101/1.586, allocations: 2.084 MB / 1.415 GB, free: 296 kB / 1.045 GB Notification: Performance of sort global known variables: time 2.5e-07/1.586, allocations: 2.625 kB / 1.415 GB, free: 296 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.007488/1.594, allocations: 2.441 MB / 1.418 GB, free: 13.85 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 17 (pip0.mediums[1].T,pip0.mediums[2].T,pip1.mediums[1].T,pip1.mediums[2].T,pip2.mediums[1].T,pip2.mediums[2].T,pip3.mediums[1].T,pip3.mediums[2].T,pip4.mediums[1].T,pip4.mediums[2].T,pip5.mediums[1].T,pip5.mediums[2].T,senTem_p2.T,senTem_p3.T,senTemIn_p2.T,senTem_p1.T,senTem_p4.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (386): * Single equations (assignments): 362 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003244/1.597, allocations: 1.396 MB / 1.419 GB, free: 12.79 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.06077/1.658, allocations: 11.52 MB / 1.43 GB, free: 1.492 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.399e-05/1.658, allocations: 5 kB / 1.43 GB, free: 1.488 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.05007/1.708, allocations: 6.397 MB / 1.437 GB, free: 11.18 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01644/1.725, allocations: 1.635 MB / 1.438 GB, free: 9.574 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02064/1.745, allocations: 12.7 MB / 1.451 GB, free: 12.74 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002906/1.748, allocations: 3.041 MB / 1.453 GB, free: 9.66 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00881/1.757, allocations: 2.547 MB / 1.456 GB, free: 7.207 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/1.758, allocations: 379.3 kB / 1.456 GB, free: 6.836 MB / 1.092 GB Notification: Performance of SimCode: time 6.62e-07/1.758, allocations: 8 kB / 1.456 GB, free: 6.828 MB / 1.092 GB Notification: Performance of Templates: time 0.1424/1.901, allocations: 82.75 MB / 1.537 GB, free: 5.348 MB / 1.17 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)