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.001084/0.001084, allocations: 97.78 kB / 16.26 MB, free: 5.934 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.001128/0.001128, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7689/0.7689, allocations: 122.9 MB / 413.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.89 kB / 0.4911 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.376, allocations: 77.92 MB / 0.5672 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1038/0.4799, allocations: 115.2 MB / 0.6797 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03768/0.5176, allocations: 26.55 MB / 0.7056 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004753/0.5224, allocations: 115.4 kB / 0.7057 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004048/0.5265, allocations: 1.153 MB / 0.7068 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01017/0.5367, allocations: 3.419 MB / 0.7102 GB, free: 7.965 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006711/0.5434, allocations: 2.343 MB / 0.7125 GB, free: 5.629 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009665/0.5531, allocations: 6.185 MB / 0.7185 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003669/0.5568, allocations: 1.925 MB / 0.7204 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006732/0.5636, allocations: 2.642 MB / 0.723 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003365/0.567, allocations: 1.774 MB / 0.7247 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007635/0.5677, allocations: 220 kB / 0.7249 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006468/0.5742, allocations: 2.34 MB / 0.7272 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009085/0.5752, allocations: 0.537 MB / 0.7277 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002844/0.578, allocations: 1.283 MB / 0.729 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00778/0.5858, allocations: 4.063 MB / 0.7329 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.5859, allocations: 0 / 0.7329 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.023e-06/0.5859, allocations: 3.938 kB / 0.7329 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.229e-05/0.5859, allocations: 0 / 0.7329 GB, free: 0.5781 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.005822/0.5918, allocations: 2.838 MB / 0.7357 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.5918, allocations: 12.62 kB / 0.7357 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006831/0.5925, allocations: 257.1 kB / 0.736 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003949/0.5965, allocations: 2.054 MB / 0.738 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.357e-05/0.5966, allocations: 106.7 kB / 0.7381 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/0.5968, allocations: 136 kB / 0.7382 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002396/0.5992, allocations: 1.461 MB / 0.7396 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/0.5992, allocations: 4 kB / 0.7396 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.5993, allocations: 56 kB / 0.7397 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.118e-05/0.5994, allocations: 40 kB / 0.7397 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.6012, allocations: 1.021 MB / 0.7407 GB, free: 8.406 MB / 0.5762 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.2953/0.8965, allocations: 8.172 MB / 0.7487 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.8988, allocations: 0.8401 MB / 0.7495 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007102/0.8995, allocations: 375.9 kB / 0.7499 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001769/0.9013, allocations: 2.803 MB / 0.7526 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.9013, allocations: 44.34 kB / 0.7527 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 3.005e-06/0.9013, allocations: 4.594 kB / 0.7527 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.003262/0.9046, allocations: 1.123 MB / 0.7538 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.9047, allocations: 67.56 kB / 0.7538 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00319/0.9079, allocations: 1.62 MB / 0.7554 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.908, allocations: 43.08 kB / 0.7555 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008047/0.9088, allocations: 0.9338 MB / 0.7564 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003309/0.9092, allocations: 304.8 kB / 0.7567 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004782/0.9096, allocations: 234.2 kB / 0.7569 GB, free: 159 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.9098, allocations: 346 kB / 0.7572 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007684/0.9106, allocations: 331.2 kB / 0.7575 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009357/0.9115, allocations: 0.7076 MB / 0.7582 GB, free: 158 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.913, allocations: 1.085 MB / 0.7593 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.913, allocations: 3.344 kB / 0.7593 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002622/0.9157, allocations: 1.245 MB / 0.7605 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.9157, allocations: 11.75 kB / 0.7605 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-05/0.9158, allocations: 16.42 kB / 0.7605 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.911e-05/0.9158, allocations: 19.16 kB / 0.7605 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008814/0.9167, allocations: 271 kB / 0.7608 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.205e-05/0.9167, allocations: 26.75 kB / 0.7608 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.918, allocations: 131.9 kB / 0.761 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.9181, allocations: 64.72 kB / 0.761 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001217/0.9193, allocations: 0.6273 MB / 0.7616 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000838/0.9202, allocations: 0.7052 MB / 0.7623 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001488/0.9217, allocations: 1.081 MB / 0.7634 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.586e-06/0.9217, allocations: 2.906 kB / 0.7634 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002463/0.9241, allocations: 1.245 MB / 0.7646 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.9242, allocations: 14.75 kB / 0.7646 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-05/0.9242, allocations: 16.44 kB / 0.7646 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.9243, allocations: 18.55 kB / 0.7646 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008135/0.9251, allocations: 259.7 kB / 0.7649 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.69e-05/0.9251, allocations: 29.11 kB / 0.7649 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.9263, allocations: 98.02 kB / 0.765 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.9264, allocations: 63.25 kB / 0.7651 GB, free: 154.3 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.0003803/0.9268, allocations: 256.1 kB / 0.7653 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003288/0.9271, allocations: 190.6 kB / 0.7655 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003187/0.9303, allocations: 1.735 MB / 0.7672 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.665e-05/0.9304, allocations: 22.31 kB / 0.7672 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.9304, allocations: 0.9375 kB / 0.7672 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001741/0.9321, allocations: 1.155 MB / 0.7683 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005365/0.9375, allocations: 3.49 MB / 0.7717 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.221e-05/0.9376, allocations: 13.5 kB / 0.7718 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006936/0.9383, allocations: 199.5 kB / 0.7719 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.568e-05/0.9383, allocations: 10.41 kB / 0.772 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-05/0.9384, allocations: 43.34 kB / 0.772 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-05/0.9384, allocations: 22.72 kB / 0.772 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.9384, allocations: 7.688 kB / 0.772 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003213/0.9416, allocations: 2.223 MB / 0.7742 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007715/0.9424, allocations: 441.2 kB / 0.7746 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/0.9427, allocations: 31.03 kB / 0.7746 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008513/0.9435, allocations: 49.75 kB / 0.7747 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.9437, allocations: 117.1 kB / 0.7748 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/0.9439, allocations: 59.55 kB / 0.7749 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001877/0.9457, allocations: 1.097 MB / 0.7759 GB, free: 149 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9457, allocations: 0 / 0.7759 GB, free: 149 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004177/0.9499, allocations: 1.131 MB / 0.777 GB, free: 148.8 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.001526/0.9515, allocations: 0.7942 MB / 0.7778 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003672/0.9552, allocations: 1.901 MB / 0.7797 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.9552, allocations: 0 / 0.7797 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.9562, allocations: 0.8247 MB / 0.7805 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004172/0.9604, allocations: 0.961 MB / 0.7814 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004913/0.9653, allocations: 3.622 MB / 0.785 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008728/0.9662, allocations: 1.44 MB / 0.7864 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002097/0.9683, allocations: 0.5414 MB / 0.7869 GB, free: 143.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003476/0.9687, allocations: 183.3 kB / 0.7871 GB, free: 143 MB / 0.5762 GB Notification: Performance of SimCode: time 1.443e-06/0.9687, allocations: 0 / 0.7871 GB, free: 143 MB / 0.5762 GB Notification: Performance of Templates: time 0.05674/1.025, allocations: 43.05 MB / 0.8291 GB, free: 100.5 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)