Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_9_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.0008899/0.0008899, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005484/0.005484, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.335/1.335, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.34/2.34, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003119, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6569/0.6572, allocations: 142.4 MB / 0.9552 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1004/0.7577, allocations: 112.6 MB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.03131/0.7891, allocations: 26.38 MB / 1.091 GB, free: 4.09 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003448/0.7925, allocations: 99.38 kB / 1.091 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00234/0.7949, allocations: 0.9206 MB / 1.092 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007427/0.8023, allocations: 3.168 MB / 1.095 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005327/0.8077, allocations: 2.093 MB / 1.097 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.008762/0.8164, allocations: 8.152 MB / 1.105 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002458/0.8189, allocations: 1.546 MB / 1.106 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004848/0.8238, allocations: 2.271 MB / 1.109 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.8263, allocations: 1.703 MB / 1.11 GB, free: 56 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002523/0.8265, allocations: 92.05 kB / 1.11 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004367/0.8309, allocations: 2.124 MB / 1.113 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004074/0.8313, allocations: 417.9 kB / 1.113 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.8326, allocations: 1.156 MB / 1.114 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00632/0.8389, allocations: 3.937 MB / 1.118 GB, free: 8.309 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.839, allocations: 0 / 1.118 GB, free: 8.309 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.627e-06/0.839, allocations: 0 / 1.118 GB, free: 8.309 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.872e-05/0.839, allocations: 3.938 kB / 1.118 GB, free: 8.305 MB / 0.8731 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.004767/0.8438, allocations: 2.418 MB / 1.12 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.8439, allocations: 8.031 kB / 1.12 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002455/0.8441, allocations: 202.6 kB / 1.12 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004903/0.8446, allocations: 257 kB / 1.121 GB, free: 5.359 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004073/0.8487, allocations: 2.103 MB / 1.123 GB, free: 3.203 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.8488, allocations: 102.7 kB / 1.123 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/0.8491, allocations: 140 kB / 1.123 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.8514, allocations: 1.463 MB / 1.124 GB, free: 1.426 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.905e-05/0.8514, allocations: 7.844 kB / 1.124 GB, free: 1.418 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.8516, allocations: 60 kB / 1.124 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.769e-05/0.8516, allocations: 32 kB / 1.125 GB, free: 1.328 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.8534, allocations: 1.037 MB / 1.126 GB, free: 292 kB / 0.8731 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.009668/0.8631, allocations: 8.139 MB / 1.133 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/0.8653, allocations: 0.8406 MB / 1.134 GB, free: 6.582 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000945/0.8662, allocations: 381.4 kB / 1.135 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00311/0.8694, allocations: 2.807 MB / 1.137 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.204e-05/0.8694, allocations: 43.22 kB / 1.137 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=85): time 6.532e-06/0.8695, allocations: 0 / 1.137 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of matching and sorting (n=85): time 0.003601/0.8731, allocations: 1.144 MB / 1.139 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.8732, allocations: 64 kB / 1.139 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003894/0.8771, allocations: 1.614 MB / 1.14 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.8772, allocations: 41.7 kB / 1.14 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001127/0.8784, allocations: 0.9198 MB / 1.141 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004574/0.8788, allocations: 311.5 kB / 1.141 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.879, allocations: 93.67 kB / 1.142 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.8792, allocations: 349.9 kB / 1.142 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009921/0.8802, allocations: 330.4 kB / 1.142 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.8816, allocations: 0.7111 MB / 1.143 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002304/0.8839, allocations: 1.093 MB / 1.144 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.301e-05/0.884, allocations: 4 kB / 1.144 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003548/0.8875, allocations: 1.253 MB / 1.145 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003979/0.8879, allocations: 445.2 kB / 1.146 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.914e-05/0.888, allocations: 19.98 kB / 1.146 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.798e-05/0.888, allocations: 16 kB / 1.146 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.8894, allocations: 268.4 kB / 1.146 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.982e-05/0.8894, allocations: 19.94 kB / 1.146 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/0.8916, allocations: 190.5 kB / 1.146 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/0.8918, allocations: 67.97 kB / 1.146 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.8918, allocations: 4 kB / 1.146 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002776/0.8946, allocations: 1.062 MB / 1.147 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.805e-05/0.8946, allocations: 20 kB / 1.147 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/0.8947, allocations: 19.94 kB / 1.147 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.8959, allocations: 263.5 kB / 1.147 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.8e-05/0.8959, allocations: 27.98 kB / 1.147 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/0.8979, allocations: 163 kB / 1.148 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/0.8981, allocations: 71.91 kB / 1.148 GB, free: 7.598 MB / 0.9044 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.001179/0.8993, allocations: 472.7 kB / 1.148 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005624/0.8999, allocations: 201.6 kB / 1.148 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004647/0.9046, allocations: 1.736 MB / 1.15 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.28e-05/0.9046, allocations: 19.98 kB / 1.15 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.9046, allocations: 4 kB / 1.15 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002515/0.9072, allocations: 1.154 MB / 1.151 GB, free: 3.969 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008029/0.9152, allocations: 3.494 MB / 1.155 GB, free: 316 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.291e-05/0.9153, allocations: 15.98 kB / 1.155 GB, free: 300 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.9163, allocations: 203.8 kB / 1.155 GB, free: 96 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-05/0.9164, allocations: 12 kB / 1.155 GB, free: 84 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/0.9165, allocations: 39.98 kB / 1.155 GB, free: 44 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.876e-05/0.9165, allocations: 12 kB / 1.155 GB, free: 32 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.395e-05/0.9165, allocations: 11.94 kB / 1.155 GB, free: 20 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003754/0.9203, allocations: 2.253 MB / 1.157 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/0.9215, allocations: 473.9 kB / 1.158 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004175/0.9219, allocations: 28 kB / 1.158 GB, free: 13.15 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.9232, allocations: 103.8 kB / 1.158 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.9234, allocations: 116.7 kB / 1.158 GB, free: 12.94 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.9236, allocations: 59.97 kB / 1.158 GB, free: 12.88 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00185/0.9254, allocations: 1.075 MB / 1.159 GB, free: 11.78 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9254, allocations: 0 / 1.159 GB, free: 11.78 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003271/0.9287, allocations: 1.131 MB / 1.16 GB, free: 10.65 MB / 0.92 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.004767/0.9335, allocations: 3.472 MB / 1.163 GB, free: 7.074 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002799/0.9363, allocations: 1.813 MB / 1.165 GB, free: 5.223 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.902e-06/0.9363, allocations: 4 kB / 1.165 GB, free: 5.219 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.9374, allocations: 0.8253 MB / 1.166 GB, free: 4.367 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005929/0.9433, allocations: 0.9401 MB / 1.167 GB, free: 3.438 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02321/0.9666, allocations: 14.6 MB / 1.181 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009563/0.9676, allocations: 1.436 MB / 1.183 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001947/0.9695, allocations: 0.5459 MB / 1.183 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/0.9706, allocations: 0.8429 MB / 1.184 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of SimCode: time 8.02e-07/0.9706, allocations: 0 / 1.184 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08997/1.061, allocations: 56.82 MB / 1.239 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/1.061, allocations: 249.4 kB / 1.24 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.484/4.544, allocations: 0 / 1.24 GB, free: 8.328 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)