Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 112.1 kB / 16.42 MB, free: 6.445 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.001287/0.001287, allocations: 186.6 kB / 17.35 MB, free: 5.742 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.34/1.34, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002113/0.002113, allocations: 287.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.011/1.011, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 95.86 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.448, allocations: 86.99 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1144/0.5624, allocations: 115.2 MB / 0.8795 GB, free: 404 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03777/0.6002, allocations: 26.56 MB / 0.9054 GB, free: 5.766 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004157/0.6044, allocations: 115.4 kB / 0.9056 GB, free: 5.652 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00342/0.6079, allocations: 1.18 MB / 0.9067 GB, free: 4.465 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009837/0.6178, allocations: 3.598 MB / 0.9102 GB, free: 0.8516 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006133/0.6239, allocations: 2.372 MB / 0.9125 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008485/0.6324, allocations: 6.192 MB / 0.9186 GB, free: 8.277 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003095/0.6355, allocations: 1.929 MB / 0.9205 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005918/0.6415, allocations: 2.701 MB / 0.9231 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00303/0.6445, allocations: 1.77 MB / 0.9248 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006756/0.6452, allocations: 220 kB / 0.925 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005627/0.6508, allocations: 2.34 MB / 0.9273 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0008848/0.6517, allocations: 0.5448 MB / 0.9279 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002536/0.6543, allocations: 1.283 MB / 0.9291 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.008225/0.6625, allocations: 4.116 MB / 0.9331 GB, free: 9.305 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6625, allocations: 0 / 0.9331 GB, free: 9.305 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6626, allocations: 4 kB / 0.9331 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000105/0.6627, allocations: 0 / 0.9331 GB, free: 9.301 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.006813/0.6695, allocations: 2.834 MB / 0.9359 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.6695, allocations: 8.031 kB / 0.9359 GB, free: 6.398 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008305/0.6704, allocations: 257.1 kB / 0.9362 GB, free: 6.145 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004659/0.675, allocations: 2.136 MB / 0.9382 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-05/0.6751, allocations: 98.67 kB / 0.9383 GB, free: 3.859 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/0.6754, allocations: 136 kB / 0.9385 GB, free: 3.727 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002648/0.678, allocations: 1.473 MB / 0.9399 GB, free: 2.176 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.884e-05/0.6781, allocations: 4 kB / 0.9399 GB, free: 2.172 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.6782, allocations: 56 kB / 0.94 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.563e-05/0.6783, allocations: 39.92 kB / 0.94 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.6803, allocations: 1.021 MB / 0.941 GB, free: 1.051 MB / 0.7012 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.008978/0.6893, allocations: 8.116 MB / 0.9489 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.6908, allocations: 0.8375 MB / 0.9497 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006111/0.6915, allocations: 375.8 kB / 0.9501 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002282/0.6938, allocations: 2.807 MB / 0.9528 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/0.6938, allocations: 51.22 kB / 0.9529 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=85): time 3.778e-06/0.6938, allocations: 0 / 0.9529 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=85): time 0.002624/0.6965, allocations: 1.124 MB / 0.954 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.6965, allocations: 64.06 kB / 0.954 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/0.6991, allocations: 1.621 MB / 0.9556 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.489e-05/0.6992, allocations: 41.7 kB / 0.9557 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.349/1.048, allocations: 0.93 MB / 0.9566 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004294/1.049, allocations: 308.1 kB / 0.9569 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004273/1.049, allocations: 230.6 kB / 0.9571 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.876e-05/1.049, allocations: 349.3 kB / 0.9574 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007754/1.05, allocations: 326.4 kB / 0.9577 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/1.051, allocations: 0.7071 MB / 0.9584 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/1.053, allocations: 1.088 MB / 0.9595 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/1.053, allocations: 6.281 kB / 0.9595 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002742/1.056, allocations: 1.249 MB / 0.9607 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/1.056, allocations: 9.75 kB / 0.9607 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.08e-05/1.056, allocations: 16.69 kB / 0.9607 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.13e-05/1.056, allocations: 17.83 kB / 0.9608 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008444/1.057, allocations: 265 kB / 0.961 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.132e-05/1.057, allocations: 27.86 kB / 0.961 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/1.058, allocations: 133.3 kB / 0.9612 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/1.058, allocations: 63.97 kB / 0.9612 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001241/1.059, allocations: 0.6275 MB / 0.9618 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007607/1.06, allocations: 0.6991 MB / 0.9625 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001387/1.061, allocations: 1.086 MB / 0.9636 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.873e-06/1.061, allocations: 2.5 kB / 0.9636 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002314/1.064, allocations: 1.237 MB / 0.9648 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/1.064, allocations: 11.64 kB / 0.9648 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.149e-05/1.064, allocations: 17.88 kB / 0.9648 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.064, allocations: 18.66 kB / 0.9648 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008008/1.065, allocations: 264.9 kB / 0.9651 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.378e-05/1.065, allocations: 22.78 kB / 0.9651 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/1.066, allocations: 105.5 kB / 0.9652 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/1.066, allocations: 72.39 kB / 0.9653 GB, free: 178.8 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002903/1.066, allocations: 245.8 kB / 0.9655 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/1.066, allocations: 190.4 kB / 0.9657 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002914/1.069, allocations: 1.745 MB / 0.9674 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001499/1.071, allocations: 1.145 MB / 0.9685 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.112e-05/1.071, allocations: 7.219 kB / 0.9685 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005993/1.071, allocations: 429.2 kB / 0.9689 GB, free: 177 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/1.072, allocations: 20.47 kB / 0.969 GB, free: 177 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007463/1.072, allocations: 43.12 kB / 0.969 GB, free: 177 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/1.073, allocations: 88.47 kB / 0.9691 GB, free: 176.9 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002024/1.075, allocations: 1.325 MB / 0.9704 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002606/1.077, allocations: 2.111 MB / 0.9724 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006759/1.078, allocations: 0.5681 MB / 0.973 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001222/1.079, allocations: 1.088 MB / 0.9741 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of Backend: time 3.91e-07/1.079, allocations: 0 / 0.9741 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003954/1.083, allocations: 2.183 MB / 0.9762 GB, free: 174 MB / 0.7169 GB Notification: Performance of SimCode: time 0.005597/1.089, allocations: 4.325 MB / 0.9804 GB, free: 170.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.05801/1.147, allocations: 45.19 MB / 1.025 GB, free: 126.1 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)