Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001293/0.001294, allocations: 109.2 kB / 17.02 MB, free: 6.121 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.001077/0.001077, allocations: 194.9 kB / 17.97 MB, free: 5.211 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.282/1.282, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6974/0.6974, allocations: 115.1 MB / 406.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001158, allocations: 59.89 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3836, allocations: 76.14 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1022/0.4858, allocations: 115.2 MB / 0.67 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0361/0.5219, allocations: 26.56 MB / 0.6959 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005382/0.5273, allocations: 111.4 kB / 0.6961 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004204/0.5316, allocations: 1.149 MB / 0.6972 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01149/0.5431, allocations: 3.424 MB / 0.7005 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007082/0.5502, allocations: 2.348 MB / 0.7028 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00991/0.5602, allocations: 6.188 MB / 0.7089 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003501/0.5637, allocations: 1.929 MB / 0.7107 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007084/0.5708, allocations: 2.648 MB / 0.7133 GB, free: 4.633 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003324/0.5742, allocations: 1.77 MB / 0.7151 GB, free: 2.855 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005059/0.5747, allocations: 220 kB / 0.7153 GB, free: 2.641 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005247/0.5799, allocations: 2.351 MB / 0.7176 GB, free: 292 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005608/0.5805, allocations: 0.5371 MB / 0.7181 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001646/0.5822, allocations: 1.279 MB / 0.7193 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006855/0.589, allocations: 4.109 MB / 0.7233 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.5891, allocations: 0 / 0.7233 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5891, allocations: 0 / 0.7233 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.971e-05/0.5892, allocations: 0 / 0.7233 GB, free: 10.34 MB / 0.5606 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.005885/0.595, allocations: 2.838 MB / 0.7261 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.5951, allocations: 8.031 kB / 0.7261 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007446/0.5959, allocations: 261 kB / 0.7264 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00475/0.6006, allocations: 2.138 MB / 0.7285 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.601e-05/0.6007, allocations: 102.7 kB / 0.7286 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/0.6009, allocations: 140 kB / 0.7287 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002382/0.6033, allocations: 1.454 MB / 0.7301 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.832e-05/0.6034, allocations: 7.906 kB / 0.7301 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.6035, allocations: 59.94 kB / 0.7302 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.785e-05/0.6035, allocations: 36 kB / 0.7302 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.6054, allocations: 1.029 MB / 0.7312 GB, free: 2.082 MB / 0.5606 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.009717/0.6151, allocations: 8.124 MB / 0.7391 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.6167, allocations: 0.8404 MB / 0.74 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005591/0.6172, allocations: 375.8 kB / 0.7403 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002064/0.6193, allocations: 2.807 MB / 0.7431 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.6194, allocations: 43.22 kB / 0.7431 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 3.286e-06/0.6194, allocations: 0 / 0.7431 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.002421/0.6218, allocations: 1.121 MB / 0.7442 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.6219, allocations: 68 kB / 0.7443 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/0.6242, allocations: 1.621 MB / 0.7459 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.6243, allocations: 42.47 kB / 0.7459 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006989/0.625, allocations: 0.9315 MB / 0.7468 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000283/0.6253, allocations: 311.5 kB / 0.7471 GB, free: 372 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/0.6256, allocations: 230.7 kB / 0.7473 GB, free: 132 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.2702/0.8958, allocations: 341.9 kB / 0.7476 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.8969, allocations: 325.1 kB / 0.748 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.898, allocations: 0.7066 MB / 0.7486 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001808/0.8998, allocations: 1.091 MB / 0.7497 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-05/0.8999, allocations: 4.281 kB / 0.7497 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003912/0.9038, allocations: 1.243 MB / 0.7509 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.648e-05/0.9039, allocations: 11.69 kB / 0.7509 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.529e-05/0.9039, allocations: 16.47 kB / 0.751 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.958e-05/0.904, allocations: 19.31 kB / 0.751 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.905, allocations: 265.5 kB / 0.7512 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.371e-05/0.9051, allocations: 30.5 kB / 0.7513 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.9065, allocations: 129.6 kB / 0.7514 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.9067, allocations: 65.34 kB / 0.7514 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001177/0.9079, allocations: 0.6258 MB / 0.7521 GB, free: 167 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008278/0.9087, allocations: 0.7007 MB / 0.7527 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001379/0.9101, allocations: 1.086 MB / 0.7538 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.215e-06/0.9101, allocations: 3.625 kB / 0.7538 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.00225/0.9124, allocations: 1.242 MB / 0.755 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.9124, allocations: 10.34 kB / 0.755 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/0.9124, allocations: 16.59 kB / 0.755 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.9125, allocations: 19.19 kB / 0.7551 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00077/0.9132, allocations: 256.6 kB / 0.7553 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/0.9133, allocations: 33.27 kB / 0.7553 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009822/0.9143, allocations: 103.4 kB / 0.7554 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.9144, allocations: 63.92 kB / 0.7555 GB, free: 165.1 MB / 0.5762 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.0003041/0.9147, allocations: 250 kB / 0.7557 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/0.915, allocations: 196.1 kB / 0.7559 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003054/0.918, allocations: 1.742 MB / 0.7576 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.683e-05/0.9181, allocations: 25.67 kB / 0.7576 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.9181, allocations: 5.125 kB / 0.7577 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001661/0.9198, allocations: 1.14 MB / 0.7588 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005204/0.925, allocations: 3.485 MB / 0.7622 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.547e-05/0.925, allocations: 10.39 kB / 0.7622 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006887/0.9257, allocations: 201.5 kB / 0.7624 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/0.9257, allocations: 11.44 kB / 0.7624 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.507e-05/0.9258, allocations: 44.67 kB / 0.7624 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.428e-05/0.9258, allocations: 13.14 kB / 0.7624 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.9259, allocations: 15.19 kB / 0.7625 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002969/0.9288, allocations: 2.228 MB / 0.7646 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000669/0.9295, allocations: 436.3 kB / 0.765 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/0.9297, allocations: 35.44 kB / 0.7651 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007784/0.9305, allocations: 41.86 kB / 0.7651 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.9307, allocations: 121.4 kB / 0.7652 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.9308, allocations: 63.75 kB / 0.7653 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001471/0.9323, allocations: 1.086 MB / 0.7664 GB, free: 160 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9323, allocations: 1.156 kB / 0.7664 GB, free: 160 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002871/0.9352, allocations: 1.137 MB / 0.7675 GB, free: 159.9 MB / 0.5762 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.001386/0.9366, allocations: 0.796 MB / 0.7682 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002797/0.9394, allocations: 1.815 MB / 0.77 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.9394, allocations: 1.375 kB / 0.77 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.9406, allocations: 0.8285 MB / 0.7708 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003814/0.9444, allocations: 0.9584 MB / 0.7718 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005361/0.9498, allocations: 3.575 MB / 0.7753 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/0.9512, allocations: 1.434 MB / 0.7767 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002659/0.9539, allocations: 0.5387 MB / 0.7772 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004783/0.9544, allocations: 189.8 kB / 0.7774 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of SimCode: time 8.42e-07/0.9544, allocations: 0 / 0.7774 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.05523/1.01, allocations: 43.02 MB / 0.8194 GB, free: 119.9 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)