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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001378/0.001378, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.601/2.601, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 63.89 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6341/0.6356, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1149/0.7506, allocations: 115.2 MB / 1.13 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0342/0.7848, allocations: 26.57 MB / 1.156 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003941/0.7888, allocations: 115.4 kB / 1.156 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003203/0.792, allocations: 1.145 MB / 1.157 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009888/0.8019, allocations: 3.428 MB / 1.16 GB, free: 15.61 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006846/0.8088, allocations: 2.336 MB / 1.163 GB, free: 13.28 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007124/0.8159, allocations: 6.184 MB / 1.169 GB, free: 7.07 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002851/0.8188, allocations: 1.929 MB / 1.171 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005255/0.8241, allocations: 2.649 MB / 1.173 GB, free: 2.457 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002746/0.8268, allocations: 1.77 MB / 1.175 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006123/0.8275, allocations: 220 kB / 1.175 GB, free: 476 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004969/0.8324, allocations: 2.343 MB / 1.177 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007024/0.8332, allocations: 0.5332 MB / 1.178 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002025/0.8352, allocations: 1.279 MB / 1.179 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006344/0.8415, allocations: 4.067 MB / 1.183 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8416, allocations: 0 / 1.183 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8416, allocations: 0 / 1.183 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.828e-05/0.8417, allocations: 0 / 1.183 GB, free: 8.219 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.005974/0.8476, allocations: 2.83 MB / 1.186 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.8477, allocations: 8.031 kB / 1.186 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002504/0.848, allocations: 194.6 kB / 1.186 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006911/0.8487, allocations: 269 kB / 1.186 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003719/0.8524, allocations: 2.048 MB / 1.188 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-05/0.8525, allocations: 106.7 kB / 1.188 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.8527, allocations: 147.8 kB / 1.189 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.8549, allocations: 1.458 MB / 1.19 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.8549, allocations: 3.938 kB / 1.19 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.855, allocations: 52 kB / 1.19 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.086e-05/0.8551, allocations: 36 kB / 1.19 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.8569, allocations: 1.025 MB / 1.191 GB, free: 15.85 MB / 0.9512 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.01002/0.8669, allocations: 8.179 MB / 1.199 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.8689, allocations: 0.8368 MB / 1.2 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00089/0.8698, allocations: 375.8 kB / 1.2 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002084/0.8719, allocations: 2.803 MB / 1.203 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.872, allocations: 47.2 kB / 1.203 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=85): time 3.837e-06/0.872, allocations: 0 / 1.203 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85): time 0.003714/0.8757, allocations: 1.132 MB / 1.204 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.8758, allocations: 68 kB / 1.204 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003654/0.8794, allocations: 1.614 MB / 1.206 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.53e-05/0.8795, allocations: 41.7 kB / 1.206 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.8806, allocations: 0.9353 MB / 1.207 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004361/0.8811, allocations: 299.6 kB / 1.207 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004899/0.8816, allocations: 234.6 kB / 1.207 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.8818, allocations: 349.9 kB / 1.208 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009745/0.8827, allocations: 333.9 kB / 1.208 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.884, allocations: 0.7032 MB / 1.209 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/0.8865, allocations: 1.085 MB / 1.21 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/0.8865, allocations: 4 kB / 1.21 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00376/0.8903, allocations: 1.242 MB / 1.211 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.8904, allocations: 17.41 kB / 1.211 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.515e-05/0.8904, allocations: 16 kB / 1.211 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.107e-05/0.8904, allocations: 20 kB / 1.211 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.8918, allocations: 263.5 kB / 1.211 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.254e-05/0.8919, allocations: 27.92 kB / 1.211 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.8939, allocations: 138.6 kB / 1.211 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.8941, allocations: 75.91 kB / 1.211 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001101/0.8952, allocations: 0.6197 MB / 1.212 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008135/0.896, allocations: 0.7072 MB / 1.213 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001518/0.8975, allocations: 1.077 MB / 1.214 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.744e-06/0.8976, allocations: 8 kB / 1.214 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002279/0.8998, allocations: 1.241 MB / 1.215 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.8999, allocations: 12 kB / 1.215 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.097e-05/0.8999, allocations: 19.98 kB / 1.215 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.8999, allocations: 16 kB / 1.215 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000771/0.9007, allocations: 259.5 kB / 1.215 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/0.9007, allocations: 28.25 kB / 1.215 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.9018, allocations: 99.25 kB / 1.215 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.9019, allocations: 63.98 kB / 1.215 GB, free: 4.777 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.0002524/0.9022, allocations: 251.8 kB / 1.216 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004151/0.9026, allocations: 189.7 kB / 1.216 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003023/0.9056, allocations: 1.752 MB / 1.218 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.013e-05/0.9057, allocations: 19.92 kB / 1.218 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.9057, allocations: 0 / 1.218 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001644/0.9073, allocations: 1.146 MB / 1.219 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005185/0.9125, allocations: 3.482 MB / 1.222 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-05/0.9126, allocations: 15.98 kB / 1.222 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006842/0.9133, allocations: 204.5 kB / 1.222 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-05/0.9133, allocations: 12 kB / 1.222 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.677e-05/0.9134, allocations: 39.98 kB / 1.222 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.269e-05/0.9134, allocations: 11.94 kB / 1.222 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.9134, allocations: 12.09 kB / 1.222 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003071/0.9165, allocations: 2.23 MB / 1.225 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006484/0.9171, allocations: 438.2 kB / 1.225 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003049/0.9175, allocations: 32 kB / 1.225 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008986/0.9184, allocations: 51.86 kB / 1.225 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.9186, allocations: 120.7 kB / 1.225 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.9187, allocations: 59.97 kB / 1.225 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001545/0.9202, allocations: 1.091 MB / 1.226 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9202, allocations: 0 / 1.226 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002764/0.923, allocations: 1.131 MB / 1.227 GB, free: 8.148 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.004755/0.9278, allocations: 3.469 MB / 1.231 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003659/0.9314, allocations: 1.902 MB / 1.233 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.9315, allocations: 0 / 1.233 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.9326, allocations: 0.8254 MB / 1.233 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004601/0.9373, allocations: 0.9659 MB / 1.234 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/0.956, allocations: 13.84 MB / 1.248 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000973/0.957, allocations: 1.432 MB / 1.249 GB, free: 308 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.3686/1.326, allocations: 0.5395 MB / 1.25 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.327, allocations: 0.851 MB / 1.251 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of SimCode: time 7.81e-07/1.327, allocations: 0.5938 kB / 1.251 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.164/2.49, allocations: 58.42 MB / 1.308 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/13.27, allocations: 14.53 kB / 1.308 GB, free: 188.7 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)