Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.001228/0.001228, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001312/0.001312, allocations: 193.5 kB / 16.14 MB, free: 6.734 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.475/1.475, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.787/2.787, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.001379, allocations: 71.89 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8427/0.8441, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.004101/0.8483, allocations: 1.703 MB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002738/0.8511, allocations: 1.46 MB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.8513, allocations: 3.938 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006329/0.8519, allocations: 51.83 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.8522, allocations: 43.83 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.8527, allocations: 87.83 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003053/0.853, allocations: 155.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.1e-05/0.853, allocations: 12.16 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.8532, allocations: 55.78 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.8535, allocations: 67.73 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.8535, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002245/0.8538, allocations: 63.91 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.626e-05/0.8539, allocations: 47.83 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.39e-05/0.854, allocations: 59.59 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.8544, allocations: 177.8 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.219e-05/0.8544, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8544, allocations: 3.938 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.8544, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008998/0.8553, allocations: 470.7 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/0.8554, allocations: 8.031 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.71e-05/0.8555, allocations: 38.73 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.914e-05/0.8555, allocations: 20.75 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005398/0.8561, allocations: 255.9 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.8561, allocations: 4.375 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.8561, allocations: 7.938 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.8564, allocations: 123.2 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.8565, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.8565, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.8565, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.8568, allocations: 143.8 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.8572, allocations: 241.4 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004058/0.8576, allocations: 170.5 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.8577, allocations: 56.77 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.8577, allocations: 4 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003314/0.8581, allocations: 111.4 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.8581, allocations: 0 / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005656/0.8587, allocations: 224.9 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/0.8587, allocations: 81.11 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.859, allocations: 210.5 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.859, allocations: 29.69 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.826e-05/0.8591, allocations: 112.2 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.019e-05/0.8592, allocations: 51.36 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.27e-05/0.8593, allocations: 33.72 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.8594, allocations: 330.8 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.8596, allocations: 43.98 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.8597, allocations: 74.55 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.8599, allocations: 125.7 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.8599, allocations: 7.969 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003533/0.8603, allocations: 189.4 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.8603, allocations: 9.875 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.8604, allocations: 3.938 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.8604, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.8605, allocations: 31.92 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.8605, allocations: 4 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.112e-05/0.8606, allocations: 11.84 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.8606, allocations: 7.984 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001481/0.8608, allocations: 141.8 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.8608, allocations: 15.81 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.939e-05/0.8609, allocations: 25.52 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.8609, allocations: 4 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.8609, allocations: 0 / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.8609, allocations: 0 / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.8612, allocations: 229.5 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.8612, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-05/0.8613, allocations: 27.91 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.8613, allocations: 4 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.8613, allocations: 8 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.8613, allocations: 0 / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.8613, allocations: 3.984 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.8617, allocations: 206.1 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.615e-05/0.8618, allocations: 96.84 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.8618, allocations: 4 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.013e-05/0.8619, allocations: 4 kB / 1.024 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.862, allocations: 19.92 kB / 1.024 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.862, allocations: 8 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001595/0.8621, allocations: 156.2 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8622, allocations: 0 / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002788/0.8624, allocations: 36 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001833/0.8643, allocations: 1.107 MB / 1.026 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003081/0.8646, allocations: 119.9 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.8646, allocations: 0 / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.8648, allocations: 67.97 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.8651, allocations: 38.66 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.8676, allocations: 1.962 MB / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.868, allocations: 0.7165 MB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.8681, allocations: 57.64 kB / 1.029 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.8682, allocations: 63.41 kB / 1.029 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of SimCode: time 1.9e-07/0.8682, allocations: 0 / 1.029 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.8883, allocations: 4.37 MB / 1.033 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002941/0.8886, allocations: 277.7 kB / 1.033 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.887, allocations: 0 / 1.033 GB, free: 1.684 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)