Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001121/0.001121, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001143/0.001143, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9874/0.9874, allocations: 143 MB / 433.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.91 kB / 0.5137 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1497, allocations: 82.04 MB / 0.5938 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.3994/0.5491, allocations: 114.1 MB / 0.7052 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04616/0.5953, allocations: 26.42 MB / 0.731 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006945/0.6023, allocations: 105.3 kB / 0.7311 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00479/0.6071, allocations: 0.9787 MB / 0.7321 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01459/0.6218, allocations: 3.183 MB / 0.7352 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00882/0.6306, allocations: 2.148 MB / 0.7373 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01304/0.6437, allocations: 6.217 MB / 0.7434 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00462/0.6483, allocations: 1.904 MB / 0.7452 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01006/0.6584, allocations: 2.649 MB / 0.7478 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00427/0.6627, allocations: 1.82 MB / 0.7496 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001249/0.664, allocations: 220 kB / 0.7498 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007716/0.6717, allocations: 2.378 MB / 0.7521 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001179/0.6729, allocations: 0.5487 MB / 0.7527 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003748/0.6767, allocations: 1.279 MB / 0.7539 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01117/0.6879, allocations: 4.253 MB / 0.7581 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.6879, allocations: 0 / 0.7581 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6879, allocations: 0 / 0.7581 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001403/0.6881, allocations: 0 / 0.7581 GB, free: 5.598 MB / 0.5762 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.009179/0.6973, allocations: 2.85 MB / 0.7609 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.6973, allocations: 12.03 kB / 0.7609 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.6989, allocations: 253.1 kB / 0.7611 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005488/0.7044, allocations: 2.111 MB / 0.7632 GB, free: 268 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.7045, allocations: 102.6 kB / 0.7633 GB, free: 164 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004034/0.705, allocations: 139.9 kB / 0.7634 GB, free: 24 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00346/0.7084, allocations: 1.45 MB / 0.7648 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.448e-05/0.7085, allocations: 15.88 kB / 0.7648 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/0.7087, allocations: 52 kB / 0.7649 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-05/0.7087, allocations: 39.98 kB / 0.7649 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.7109, allocations: 1.025 MB / 0.7659 GB, free: 13.36 MB / 0.5919 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.0106/0.7215, allocations: 8.136 MB / 0.7739 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.7232, allocations: 0.8381 MB / 0.7747 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006918/0.7239, allocations: 377 kB / 0.775 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002559/0.7265, allocations: 2.807 MB / 0.7778 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.7266, allocations: 47.14 kB / 0.7778 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 3.867e-06/0.7266, allocations: 0 / 0.7778 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.002737/0.7293, allocations: 1.128 MB / 0.7789 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.7294, allocations: 60.06 kB / 0.779 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003066/0.7325, allocations: 1.606 MB / 0.7806 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001238/0.7326, allocations: 41.7 kB / 0.7806 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008426/0.7335, allocations: 0.9354 MB / 0.7815 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003744/0.7338, allocations: 299.6 kB / 0.7818 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003679/0.7342, allocations: 238.6 kB / 0.782 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.7344, allocations: 341.9 kB / 0.7823 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006271/0.735, allocations: 337.9 kB / 0.7827 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009388/0.736, allocations: 0.715 MB / 0.7834 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.7376, allocations: 1.085 MB / 0.7844 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/0.7376, allocations: 4 kB / 0.7844 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002638/0.7403, allocations: 1.245 MB / 0.7856 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.7403, allocations: 10.03 kB / 0.7857 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.643e-05/0.7403, allocations: 16 kB / 0.7857 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.37e-05/0.7404, allocations: 16 kB / 0.7857 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008031/0.7412, allocations: 268 kB / 0.7859 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.018e-05/0.7412, allocations: 31.86 kB / 0.786 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.7428, allocations: 178.6 kB / 0.7861 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.7429, allocations: 63.97 kB / 0.7862 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001115/0.7441, allocations: 0.6275 MB / 0.7868 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008462/0.7449, allocations: 0.7058 MB / 0.7875 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001546/0.7465, allocations: 1.077 MB / 0.7886 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.065e-06/0.7465, allocations: 4 kB / 0.7886 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002405/0.7489, allocations: 1.242 MB / 0.7898 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.7489, allocations: 12 kB / 0.7898 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/0.749, allocations: 15.98 kB / 0.7898 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.749, allocations: 20 kB / 0.7898 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008041/0.7498, allocations: 259.5 kB / 0.7901 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.489e-05/0.7498, allocations: 23.88 kB / 0.7901 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.7513, allocations: 155.2 kB / 0.7902 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.7515, allocations: 59.98 kB / 0.7903 GB, free: 2.262 MB / 0.6075 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.0004005/0.7519, allocations: 259.8 kB / 0.7905 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000516/0.7524, allocations: 193.7 kB / 0.7907 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003301/0.7557, allocations: 1.736 MB / 0.7924 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.77e-05/0.7557, allocations: 27.97 kB / 0.7925 GB, free: 60 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.7558, allocations: 3.938 kB / 0.7925 GB, free: 56 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001732/0.7575, allocations: 1.15 MB / 0.7936 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005885/0.7634, allocations: 3.483 MB / 0.797 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.511e-05/0.7634, allocations: 12 kB / 0.797 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007158/0.7642, allocations: 203.7 kB / 0.7972 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.289e-05/0.7642, allocations: 12 kB / 0.7972 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.632e-05/0.7643, allocations: 47.97 kB / 0.7972 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.657e-05/0.7643, allocations: 15.94 kB / 0.7973 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.7643, allocations: 8 kB / 0.7973 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003341/0.7677, allocations: 2.234 MB / 0.7994 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009171/0.7686, allocations: 438.1 kB / 0.7999 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004618/0.7691, allocations: 28 kB / 0.7999 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.7704, allocations: 100.5 kB / 0.8 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.7706, allocations: 128.6 kB / 0.8001 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.7707, allocations: 55.97 kB / 0.8002 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001788/0.7725, allocations: 1.079 MB / 0.8012 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7726, allocations: 4 kB / 0.8012 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003646/0.7762, allocations: 1.127 MB / 0.8023 GB, free: 5.609 MB / 0.6231 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.001959/0.7782, allocations: 0.8042 MB / 0.8031 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004161/0.7824, allocations: 1.902 MB / 0.805 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.7824, allocations: 4 kB / 0.805 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.7837, allocations: 0.8182 MB / 0.8058 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005758/0.7895, allocations: 0.971 MB / 0.8067 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007566/0.797, allocations: 4.38 MB / 0.811 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001622/0.7987, allocations: 1.432 MB / 0.8124 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002491/0.8012, allocations: 0.5403 MB / 0.8129 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005479/0.8018, allocations: 191.3 kB / 0.8131 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of SimCode: time 1.312e-06/0.8018, allocations: 0 / 0.8131 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of Templates: time 0.3713/1.173, allocations: 43.2 MB / 0.8553 GB, free: 206.3 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)