Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemIn.T|senTemOut.T|bou.1..T|pip.QEnv_flow|pip.dp|pip.v|pip.m_flow_nominal|pip.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemIn.T|senTemOut.T|bou.1..T|pip.QEnv_flow|pip.dp|pip.v|pip.m_flow_nominal|pip.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 111.1 kB / 16.41 MB, free: 6.52 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.001532/0.001533, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 64.12 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9769/0.9784, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.07551/1.054, allocations: 66.54 MB / 1.232 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02659/1.081, allocations: 16.76 MB / 1.249 GB, free: 252 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003939/1.085, allocations: 67.62 kB / 1.249 GB, free: 184 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003241/1.088, allocations: 0.8309 MB / 1.25 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.009064/1.097, allocations: 2.681 MB / 1.252 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005926/1.103, allocations: 1.828 MB / 1.254 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.05204/1.155, allocations: 35.81 MB / 1.289 GB, free: 6.934 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02871/1.184, allocations: 15.76 MB / 1.304 GB, free: 7.043 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03001/1.214, allocations: 11.97 MB / 1.316 GB, free: 11.1 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02182/1.236, allocations: 9.695 MB / 1.325 GB, free: 1.363 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.006239/1.242, allocations: 1.457 MB / 1.327 GB, free: 15.9 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01721/1.259, allocations: 3.18 MB / 1.33 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00876/1.268, allocations: 3.275 MB / 1.333 GB, free: 9.438 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.02077/1.289, allocations: 7.306 MB / 1.34 GB, free: 2.102 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.03685/1.326, allocations: 22.02 MB / 1.362 GB, free: 12.02 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/1.326, allocations: 0 / 1.362 GB, free: 12.02 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.094e-06/1.326, allocations: 0 / 1.362 GB, free: 12.02 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0008392/1.327, allocations: 4 kB / 1.362 GB, free: 12.02 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1830 * Number of variables: 1830 Notification: Performance of Generate backend data structure: time 0.05/1.377, allocations: 13.48 MB / 1.375 GB, free: 14.41 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.911e-05/1.377, allocations: 12.88 kB / 1.375 GB, free: 14.39 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009995/1.387, allocations: 1.349 MB / 1.376 GB, free: 13.04 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03373/1.42, allocations: 13.04 MB / 1.389 GB, free: 15.91 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006654/1.421, allocations: 0.5255 MB / 1.39 GB, free: 15.38 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003778/1.425, allocations: 0.7147 MB / 1.39 GB, free: 14.67 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03674/1.462, allocations: 11.21 MB / 1.401 GB, free: 3.168 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005686/1.462, allocations: 27.78 kB / 1.401 GB, free: 3.141 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003374/1.466, allocations: 304 kB / 1.402 GB, free: 2.844 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003369/1.466, allocations: 223.9 kB / 1.402 GB, free: 2.625 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02656/1.493, allocations: 9.249 MB / 1.411 GB, free: 9.359 MB / 1.139 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.09671/1.589, allocations: 52.22 MB / 1.462 GB, free: 1.734 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01295/1.602, allocations: 4.857 MB / 1.467 GB, free: 12.88 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006335/1.609, allocations: 2.825 MB / 1.469 GB, free: 10.05 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002405/1.611, allocations: 1.711 MB / 1.471 GB, free: 7.988 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/1.611, allocations: 94.19 kB / 1.471 GB, free: 7.887 MB / 1.201 GB Notification: Performance of pre-optimization done (n=420): time 1.685e-05/1.611, allocations: 0 / 1.471 GB, free: 7.887 MB / 1.201 GB Notification: Performance of matching and sorting (n=420): time 0.02255/1.634, allocations: 7.859 MB / 1.479 GB, free: 0 / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.057e-05/1.634, allocations: 98.48 kB / 1.479 GB, free: 15.89 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0276/1.662, allocations: 10.47 MB / 1.489 GB, free: 5.461 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.001519/1.663, allocations: 105.7 kB / 1.489 GB, free: 5.352 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.007717/1.671, allocations: 4.805 MB / 1.494 GB, free: 0.5195 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.003982/1.675, allocations: 1.565 MB / 1.495 GB, free: 14.94 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004848/1.68, allocations: 1.111 MB / 1.496 GB, free: 13.82 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.68, allocations: 301.1 kB / 1.497 GB, free: 13.52 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006053/1.686, allocations: 2.676 MB / 1.499 GB, free: 10.83 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007702/1.694, allocations: 4.201 MB / 1.503 GB, free: 5.961 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01401/1.708, allocations: 7.409 MB / 1.511 GB, free: 13.89 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.417e-05/1.708, allocations: 12 kB / 1.511 GB, free: 13.88 MB / 1.248 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.02226/1.73, allocations: 8.028 MB / 1.519 GB, free: 5.84 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 8.341e-05/1.73, allocations: 31.75 kB / 1.519 GB, free: 5.812 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002926/1.731, allocations: 80.12 kB / 1.519 GB, free: 5.734 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001197/1.731, allocations: 72 kB / 1.519 GB, free: 5.664 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005355/1.736, allocations: 1.201 MB / 1.52 GB, free: 4.461 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000242/1.737, allocations: 99.66 kB / 1.52 GB, free: 4.363 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01116/1.748, allocations: 0.7028 MB / 1.521 GB, free: 3.656 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001564/1.749, allocations: 279.9 kB / 1.521 GB, free: 3.383 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01418/1.763, allocations: 6.436 MB / 1.527 GB, free: 12.93 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00765/1.771, allocations: 4.2 MB / 1.531 GB, free: 8.074 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01276/1.784, allocations: 7.413 MB / 1.539 GB, free: 0 / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.381e-05/1.784, allocations: 12.05 kB / 1.539 GB, free: 15.98 MB / 1.279 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.02037/1.804, allocations: 8.024 MB / 1.546 GB, free: 7.949 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/1.805, allocations: 28.22 kB / 1.546 GB, free: 7.922 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002687/1.805, allocations: 83.91 kB / 1.546 GB, free: 7.84 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001042/1.805, allocations: 72 kB / 1.547 GB, free: 7.77 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004815/1.81, allocations: 1.205 MB / 1.548 GB, free: 6.562 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001684/1.81, allocations: 99.66 kB / 1.548 GB, free: 6.465 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008284/1.818, allocations: 0.5908 MB / 1.548 GB, free: 5.871 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00115/1.819, allocations: 283.9 kB / 1.549 GB, free: 5.594 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * 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 (674): * Single equations (assignments): 654 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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.002351/1.822, allocations: 0.5025 MB / 1.549 GB, free: 5.082 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004592/1.826, allocations: 0.885 MB / 1.55 GB, free: 4.191 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.542/3.368, allocations: 8.923 MB / 1.559 GB, free: 352.5 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01012/3.378, allocations: 6.098 MB / 1.565 GB, free: 350.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001189/3.378, allocations: 33.72 kB / 1.565 GB, free: 350.2 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007064/3.386, allocations: 2.276 MB / 1.567 GB, free: 349.5 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003567/3.389, allocations: 125 kB / 1.567 GB, free: 349.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007941/3.397, allocations: 325.7 kB / 1.567 GB, free: 349.4 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002169/3.399, allocations: 0.603 MB / 1.568 GB, free: 349.3 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02045/3.42, allocations: 7.481 MB / 1.575 GB, free: 346.7 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02136/3.441, allocations: 12.14 MB / 1.587 GB, free: 341.9 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005465/3.447, allocations: 3.498 MB / 1.591 GB, free: 338.9 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01697/3.464, allocations: 7.415 MB / 1.598 GB, free: 332.1 MB / 1.279 GB Notification: Performance of Backend: time 1.173e-06/3.464, allocations: 0 / 1.598 GB, free: 332.1 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.03008/3.494, allocations: 9.44 MB / 1.607 GB, free: 322.7 MB / 1.279 GB Notification: Performance of SimCode: time 0.0644/3.558, allocations: 25.89 MB / 1.632 GB, free: 297.1 MB / 1.279 GB Notification: Performance of Templates: time 0.2874/3.846, allocations: 213 MB / 1.84 GB, free: 85.58 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe 2>&1)