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.001613/0.001612, allocations: 113.4 kB / 17.04 MB, free: 6.07 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.002038/0.002039, allocations: 195 kB / 17.98 MB, free: 5.148 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.367/1.367, allocations: 222.9 MB / 241.7 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.71/0.71, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.89 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3341, 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.1/0.4342, allocations: 115.2 MB / 0.67 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03412/0.4684, allocations: 26.54 MB / 0.6959 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004533/0.4729, allocations: 115.4 kB / 0.6961 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003468/0.4764, allocations: 1.153 MB / 0.6972 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.4873, allocations: 3.42 MB / 0.7005 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006888/0.4942, allocations: 2.348 MB / 0.7028 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008707/0.5029, allocations: 6.196 MB / 0.7089 GB, free: 9.234 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002811/0.5058, allocations: 1.921 MB / 0.7107 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005559/0.5113, allocations: 2.653 MB / 0.7133 GB, free: 4.629 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002538/0.5139, allocations: 1.774 MB / 0.7151 GB, free: 2.848 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003577/0.5143, allocations: 220 kB / 0.7153 GB, free: 2.633 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004732/0.519, allocations: 2.347 MB / 0.7176 GB, free: 288 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005478/0.5196, allocations: 0.537 MB / 0.7181 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001457/0.521, allocations: 1.287 MB / 0.7193 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005406/0.5264, allocations: 4.102 MB / 0.7234 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.5265, allocations: 4 kB / 0.7234 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5265, allocations: 3.938 kB / 0.7234 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.201e-05/0.5265, allocations: 4 kB / 0.7234 GB, free: 10.33 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.005217/0.5317, allocations: 2.83 MB / 0.7261 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.5318, allocations: 8.031 kB / 0.7261 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006296/0.5324, allocations: 261 kB / 0.7264 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004146/0.5366, allocations: 2.142 MB / 0.7285 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.873e-05/0.5367, allocations: 106.7 kB / 0.7286 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/0.5369, allocations: 136 kB / 0.7287 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/0.5392, allocations: 1.454 MB / 0.7301 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.5392, allocations: 11.84 kB / 0.7301 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.5394, allocations: 56 kB / 0.7302 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.577e-05/0.5394, allocations: 40 kB / 0.7302 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.5412, allocations: 1.025 MB / 0.7312 GB, free: 2.07 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.009062/0.5503, allocations: 8.116 MB / 0.7392 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.5519, allocations: 0.8441 MB / 0.74 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006154/0.5525, allocations: 376.6 kB / 0.7403 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002203/0.5548, allocations: 2.807 MB / 0.7431 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.5548, allocations: 47.16 kB / 0.7431 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 3.457e-06/0.5548, allocations: 0 / 0.7431 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.002646/0.5575, allocations: 1.128 MB / 0.7442 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.5576, allocations: 67.94 kB / 0.7443 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.5597, allocations: 1.617 MB / 0.7459 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.54e-05/0.5598, allocations: 45.69 kB / 0.7459 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000698/0.5605, allocations: 0.9238 MB / 0.7468 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002743/0.5608, allocations: 311.5 kB / 0.7471 GB, free: 364 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003064/0.5611, allocations: 226.8 kB / 0.7473 GB, free: 128 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.2348/0.7959, allocations: 353.9 kB / 0.7477 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000936/0.7969, allocations: 321.8 kB / 0.748 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009392/0.7978, allocations: 0.7068 MB / 0.7487 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.7993, allocations: 1.083 MB / 0.7497 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.699e-06/0.7994, allocations: 4.062 kB / 0.7497 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002599/0.802, allocations: 1.249 MB / 0.7509 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.802, allocations: 9.406 kB / 0.751 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.963e-05/0.802, allocations: 17.41 kB / 0.751 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.711e-05/0.8021, allocations: 18.25 kB / 0.751 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008665/0.803, allocations: 263 kB / 0.7512 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.991e-05/0.803, allocations: 28.41 kB / 0.7513 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.8041, allocations: 134.3 kB / 0.7514 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.8042, allocations: 64.39 kB / 0.7515 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001152/0.8054, allocations: 0.6218 MB / 0.7521 GB, free: 167 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008314/0.8062, allocations: 0.7075 MB / 0.7528 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001431/0.8077, allocations: 1.079 MB / 0.7538 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.197e-06/0.8077, allocations: 3.344 kB / 0.7538 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002332/0.81, allocations: 1.242 MB / 0.755 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.81, allocations: 10.88 kB / 0.755 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.062e-05/0.8101, allocations: 17.77 kB / 0.7551 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.8101, allocations: 17.81 kB / 0.7551 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008169/0.8109, allocations: 261.7 kB / 0.7553 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.258e-05/0.811, allocations: 30.31 kB / 0.7553 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000985/0.812, allocations: 101.4 kB / 0.7554 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.8121, allocations: 63.86 kB / 0.7555 GB, free: 165.2 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.0003043/0.8124, allocations: 260.8 kB / 0.7558 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002942/0.8127, allocations: 190.7 kB / 0.7559 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003077/0.8158, allocations: 1.738 MB / 0.7576 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.305e-05/0.8158, allocations: 22.39 kB / 0.7577 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.8158, allocations: 0 / 0.7577 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001722/0.8176, allocations: 1.15 MB / 0.7588 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005376/0.8229, allocations: 3.477 MB / 0.7622 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.603e-05/0.823, allocations: 11.61 kB / 0.7622 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007234/0.8237, allocations: 200 kB / 0.7624 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-05/0.8238, allocations: 15.66 kB / 0.7624 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.419e-05/0.8238, allocations: 41.06 kB / 0.7624 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.322e-05/0.8239, allocations: 12.34 kB / 0.7624 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/0.8239, allocations: 15.78 kB / 0.7625 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00315/0.8271, allocations: 2.225 MB / 0.7646 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007802/0.8278, allocations: 440.6 kB / 0.765 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002419/0.8281, allocations: 31.2 kB / 0.7651 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008222/0.8289, allocations: 45.83 kB / 0.7651 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.8291, allocations: 116.9 kB / 0.7652 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.8292, allocations: 70.3 kB / 0.7653 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00155/0.8308, allocations: 1.087 MB / 0.7664 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8308, allocations: 0 / 0.7664 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002903/0.8337, allocations: 1.134 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.001355/0.8351, allocations: 0.8036 MB / 0.7683 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003512/0.8386, allocations: 1.811 MB / 0.77 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.8386, allocations: 1.312 kB / 0.77 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.84, allocations: 0.8225 MB / 0.7708 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003947/0.8439, allocations: 0.9668 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.005071/0.849, allocations: 3.567 MB / 0.7753 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.8501, allocations: 1.437 MB / 0.7767 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002109/0.8522, allocations: 0.5412 MB / 0.7772 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004357/0.8526, allocations: 189.5 kB / 0.7774 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of SimCode: time 8.02e-07/0.8526, allocations: 0 / 0.7774 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.05852/0.9112, 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)