Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001454, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001688/0.001688, allocations: 194.9 kB / 16.14 MB, free: 6.645 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.266/1.266, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.344/2.344, allocations: 437 MB / 0.71 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 59.91 kB / 0.8687 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5009/0.5022, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.09337/0.5956, allocations: 114.5 MB / 1.128 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03056/0.6262, allocations: 26.69 MB / 1.155 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003669/0.6299, allocations: 103.4 kB / 1.155 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002609/0.6325, allocations: 0.9284 MB / 1.156 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007572/0.6401, allocations: 3.161 MB / 1.159 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005458/0.6456, allocations: 2.087 MB / 1.161 GB, free: 14.94 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008806/0.6544, allocations: 8.164 MB / 1.169 GB, free: 6.75 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002163/0.6566, allocations: 1.587 MB / 1.17 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003968/0.6606, allocations: 2.298 MB / 1.172 GB, free: 2.82 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/0.6625, allocations: 1.769 MB / 1.174 GB, free: 1.043 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002358/0.6627, allocations: 116 kB / 1.174 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00406/0.6668, allocations: 2.151 MB / 1.176 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003823/0.6672, allocations: 442 kB / 1.177 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.6683, allocations: 1.174 MB / 1.178 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00438/0.6727, allocations: 4.004 MB / 1.182 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6727, allocations: 0 / 1.182 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.22e-07/0.6727, allocations: 0 / 1.182 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.388e-05/0.6728, allocations: 0 / 1.182 GB, free: 9.145 MB / 0.9356 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.00491/0.6777, allocations: 2.826 MB / 1.185 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.6777, allocations: 8.031 kB / 1.185 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002157/0.678, allocations: 198.6 kB / 1.185 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005541/0.6785, allocations: 265 kB / 1.185 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003574/0.6821, allocations: 2.097 MB / 1.187 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.373e-05/0.6822, allocations: 106.7 kB / 1.187 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.6823, allocations: 139.9 kB / 1.187 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/0.6845, allocations: 1.458 MB / 1.189 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.6846, allocations: 7.844 kB / 1.189 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.6847, allocations: 60 kB / 1.189 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.742e-05/0.6847, allocations: 32 kB / 1.189 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/0.6866, allocations: 1.029 MB / 1.19 GB, free: 0.7266 MB / 0.9356 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.007219/0.6938, allocations: 8.12 MB / 1.198 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.6952, allocations: 0.829 MB / 1.199 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005766/0.6958, allocations: 379.8 kB / 1.199 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00178/0.6976, allocations: 2.807 MB / 1.202 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.6976, allocations: 43.22 kB / 1.202 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=85): time 2.394e-06/0.6976, allocations: 0 / 1.202 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85): time 0.002115/0.6998, allocations: 1.125 MB / 1.203 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.6998, allocations: 68 kB / 1.203 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/0.7018, allocations: 1.606 MB / 1.204 GB, free: 348 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.038e-05/0.7019, allocations: 46.47 kB / 1.205 GB, free: 296 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000656/0.7025, allocations: 0.9238 MB / 1.205 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/0.7028, allocations: 303.5 kB / 1.206 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003069/0.7031, allocations: 226.7 kB / 1.206 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.7033, allocations: 349.9 kB / 1.206 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005893/0.7039, allocations: 333.9 kB / 1.207 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008292/0.7047, allocations: 0.6993 MB / 1.207 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.7062, allocations: 1.097 MB / 1.208 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.7062, allocations: 0 / 1.208 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002192/0.7084, allocations: 1.249 MB / 1.21 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.7084, allocations: 12.03 kB / 1.21 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.187e-05/0.7085, allocations: 16 kB / 1.21 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.7085, allocations: 20 kB / 1.21 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007979/0.7093, allocations: 263.5 kB / 1.21 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-05/0.7093, allocations: 23.92 kB / 1.21 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.7105, allocations: 178.7 kB / 1.21 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.7106, allocations: 67.97 kB / 1.21 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001017/0.7117, allocations: 0.6197 MB / 1.211 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007988/0.7125, allocations: 0.7072 MB / 1.211 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001415/0.7139, allocations: 1.085 MB / 1.212 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.619e-06/0.7139, allocations: 0 / 1.212 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.001995/0.7159, allocations: 1.237 MB / 1.214 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.7159, allocations: 14.75 kB / 1.214 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.716, allocations: 19.98 kB / 1.214 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.716, allocations: 23.94 kB / 1.214 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007574/0.7167, allocations: 263.5 kB / 1.214 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/0.7168, allocations: 27.88 kB / 1.214 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.7178, allocations: 143.2 kB / 1.214 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.7179, allocations: 67.98 kB / 1.214 GB, free: 5.656 MB / 0.9669 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.00023/0.7182, allocations: 255.8 kB / 1.214 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002805/0.7184, allocations: 189.7 kB / 1.215 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002842/0.7213, allocations: 1.744 MB / 1.216 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.93e-05/0.7213, allocations: 23.92 kB / 1.216 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.7213, allocations: 0 / 1.216 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001638/0.723, allocations: 1.146 MB / 1.217 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004692/0.7277, allocations: 3.474 MB / 1.221 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.527e-05/0.7277, allocations: 11.98 kB / 1.221 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006914/0.7284, allocations: 204.3 kB / 1.221 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.7284, allocations: 15.94 kB / 1.221 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.824e-05/0.7285, allocations: 39.98 kB / 1.221 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.11e-05/0.7285, allocations: 16.09 kB / 1.221 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.7285, allocations: 11.94 kB / 1.221 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002919/0.7315, allocations: 2.23 MB / 1.223 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005358/0.732, allocations: 438.1 kB / 1.224 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/0.7322, allocations: 28 kB / 1.224 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009478/0.7332, allocations: 111.9 kB / 1.224 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.7334, allocations: 116.7 kB / 1.224 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-05/0.7335, allocations: 59.97 kB / 1.224 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001322/0.7348, allocations: 1.075 MB / 1.225 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7348, allocations: 0 / 1.225 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002423/0.7372, allocations: 1.127 MB / 1.226 GB, free: 9.008 MB / 0.9825 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.004338/0.7416, allocations: 3.479 MB / 1.23 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002487/0.7441, allocations: 1.797 MB / 1.231 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.7441, allocations: 0 / 1.231 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.7452, allocations: 0.8215 MB / 1.232 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003753/0.749, allocations: 0.9112 MB / 1.233 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/0.7703, allocations: 14.48 MB / 1.247 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008953/0.7713, allocations: 1.436 MB / 1.249 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001844/0.7731, allocations: 0.544 MB / 1.249 GB, free: 100 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4106/1.184, allocations: 0.842 MB / 1.25 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.172e-06/1.184, allocations: 0 / 1.25 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8404/2.024, allocations: 56.29 MB / 1.305 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/2.024, allocations: 255.1 kB / 1.305 GB, free: 191 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.239/5.263, allocations: 4 kB / 1.305 GB, free: 191 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)