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.007998/0.007998, allocations: 97.38 kB / 15.73 MB, free: 6.066 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.001772/0.001772, allocations: 195.5 kB / 16.68 MB, free: 5.973 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.002029, allocations: 285.2 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9345/0.9345, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 95.86 kB / 0.6814 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4502, allocations: 86.97 MB / 0.7664 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1058/0.556, allocations: 115.2 MB / 0.8788 GB, free: 368 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03476/0.5908, allocations: 26.57 MB / 0.9048 GB, free: 5.727 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005414/0.5963, allocations: 115.4 kB / 0.9049 GB, free: 5.613 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003116/0.5994, allocations: 1.153 MB / 0.906 GB, free: 4.453 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008414/0.6079, allocations: 3.42 MB / 0.9094 GB, free: 1.016 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005626/0.6135, allocations: 2.352 MB / 0.9116 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008141/0.6217, allocations: 6.177 MB / 0.9177 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002911/0.6246, allocations: 1.933 MB / 0.9196 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005698/0.6303, allocations: 2.652 MB / 0.9222 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002721/0.633, allocations: 1.774 MB / 0.9239 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004153/0.6335, allocations: 224 kB / 0.9241 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004979/0.6385, allocations: 2.34 MB / 0.9264 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006034/0.6391, allocations: 0.537 MB / 0.9269 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001748/0.6408, allocations: 1.287 MB / 0.9282 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00723/0.6481, allocations: 4.132 MB / 0.9322 GB, free: 9.527 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.6481, allocations: 3.984 kB / 0.9322 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6481, allocations: 0 / 0.9322 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.563e-05/0.6482, allocations: 0 / 0.9322 GB, free: 9.523 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.005357/0.6535, allocations: 2.912 MB / 0.9351 GB, free: 6.547 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.6536, allocations: 12.02 kB / 0.9351 GB, free: 6.535 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006961/0.6543, allocations: 266.4 kB / 0.9353 GB, free: 6.273 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004032/0.6583, allocations: 2.162 MB / 0.9374 GB, free: 4.062 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-05/0.6584, allocations: 106.6 kB / 0.9375 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.6586, allocations: 140 kB / 0.9377 GB, free: 3.82 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.661, allocations: 1.45 MB / 0.9391 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.678e-05/0.6611, allocations: 11.89 kB / 0.9391 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.6612, allocations: 52 kB / 0.9391 GB, free: 2.23 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.305e-05/0.6612, allocations: 43.98 kB / 0.9392 GB, free: 2.188 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.6631, allocations: 1.025 MB / 0.9402 GB, free: 1.156 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.00821/0.6713, allocations: 8.137 MB / 0.9481 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.6727, allocations: 0.8336 MB / 0.9489 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005633/0.6733, allocations: 379.8 kB / 0.9493 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001962/0.6753, allocations: 2.803 MB / 0.952 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.6753, allocations: 43.22 kB / 0.9521 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=85): time 2.866e-06/0.6753, allocations: 0 / 0.9521 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=85): time 0.00232/0.6776, allocations: 1.137 MB / 0.9532 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.6777, allocations: 64 kB / 0.9533 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002374/0.6801, allocations: 1.625 MB / 0.9548 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.03e-05/0.6802, allocations: 41.7 kB / 0.9549 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.3684/1.049, allocations: 0.9468 MB / 0.9558 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004542/1.049, allocations: 313.2 kB / 0.9561 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004486/1.049, allocations: 229.9 kB / 0.9563 GB, free: 183 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.864e-05/1.05, allocations: 348.7 kB / 0.9567 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007605/1.05, allocations: 330.8 kB / 0.957 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/1.051, allocations: 0.7085 MB / 0.9577 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/1.053, allocations: 1.085 MB / 0.9587 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-05/1.053, allocations: 3.844 kB / 0.9587 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002628/1.056, allocations: 1.257 MB / 0.96 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.056, allocations: 11.39 kB / 0.96 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.703e-05/1.056, allocations: 16.06 kB / 0.96 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.257e-05/1.056, allocations: 17.69 kB / 0.96 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008099/1.057, allocations: 261.5 kB / 0.9603 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.762e-05/1.057, allocations: 31.94 kB / 0.9603 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/1.058, allocations: 139.4 kB / 0.9604 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/1.058, allocations: 64.95 kB / 0.9605 GB, free: 181 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001314/1.059, allocations: 0.6245 MB / 0.9611 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008103/1.06, allocations: 0.7061 MB / 0.9618 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001372/1.062, allocations: 1.08 MB / 0.9628 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.105e-06/1.062, allocations: 3.438 kB / 0.9628 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.001964/1.064, allocations: 1.253 MB / 0.9641 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/1.064, allocations: 9.625 kB / 0.9641 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/1.064, allocations: 16.81 kB / 0.9641 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/1.064, allocations: 17.88 kB / 0.9641 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00076/1.064, allocations: 265.2 kB / 0.9644 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.241e-05/1.065, allocations: 27.3 kB / 0.9644 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009332/1.065, allocations: 101.1 kB / 0.9645 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/1.066, allocations: 64.48 kB / 0.9645 GB, free: 178.7 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.0002835/1.066, allocations: 256.3 kB / 0.9648 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/1.066, allocations: 199.1 kB / 0.965 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00286/1.069, allocations: 1.737 MB / 0.9667 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.31e-05/1.069, allocations: 26.83 kB / 0.9667 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.069, allocations: 0 / 0.9667 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00155/1.071, allocations: 1.142 MB / 0.9678 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004772/1.075, allocations: 3.492 MB / 0.9712 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.622e-05/1.075, allocations: 15.81 kB / 0.9712 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006471/1.076, allocations: 201.8 kB / 0.9714 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/1.076, allocations: 9.531 kB / 0.9714 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.95e-05/1.076, allocations: 43.58 kB / 0.9715 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.248e-05/1.076, allocations: 23.53 kB / 0.9715 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/1.076, allocations: 7.938 kB / 0.9715 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/1.079, allocations: 2.243 MB / 0.9737 GB, free: 174.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006212/1.079, allocations: 443.7 kB / 0.9741 GB, free: 174.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/1.08, allocations: 36.84 kB / 0.9742 GB, free: 174 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007793/1.08, allocations: 50.98 kB / 0.9742 GB, free: 174 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/1.081, allocations: 119.4 kB / 0.9743 GB, free: 174 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.913e-05/1.081, allocations: 59.88 kB / 0.9744 GB, free: 174 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00129/1.082, allocations: 1.087 MB / 0.9754 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/1.082, allocations: 0 / 0.9754 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002553/1.085, allocations: 1.142 MB / 0.9766 GB, free: 173.3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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.0012/1.086, allocations: 0.8049 MB / 0.9773 GB, free: 172.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002431/1.088, allocations: 1.811 MB / 0.9791 GB, free: 171.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/1.088, allocations: 0 / 0.9791 GB, free: 171.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009274/1.089, allocations: 0.8276 MB / 0.9799 GB, free: 170.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003495/1.093, allocations: 0.9572 MB / 0.9808 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/1.097, allocations: 3.651 MB / 0.9844 GB, free: 165.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/1.097, allocations: 1.438 MB / 0.9858 GB, free: 164.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001368/1.099, allocations: 0.5469 MB / 0.9864 GB, free: 163.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/1.099, allocations: 195.3 kB / 0.9865 GB, free: 163.5 MB / 0.7169 GB Notification: Performance of SimCode: time 7.52e-07/1.099, allocations: 1.094 kB / 0.9865 GB, free: 163.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.05544/1.154, allocations: 43.39 MB / 1.029 GB, free: 120.8 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)