Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.597/1.597, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001214/0.001214, allocations: 174.6 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.4 MB / 0.5775 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 88.98 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004276/0.0004276, allocations: 15.12 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2652, allocations: 106.3 MB / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1888/0.4541, allocations: 135 MB / 1.032 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004304/0.4546, allocations: 91.94 kB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01554/0.4701, allocations: 5.458 MB / 1.037 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.366e-06/0.4702, allocations: 0 / 1.037 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.67e-05/0.4702, allocations: 4 kB / 1.037 GB, free: 3.586 MB / 0.6823 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.000683/0.4709, allocations: 464.9 kB / 1.038 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.471, allocations: 8.031 kB / 1.038 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.269e-05/0.4711, allocations: 42.5 kB / 1.038 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.158e-05/0.4711, allocations: 19.81 kB / 1.038 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.4715, allocations: 254.7 kB / 1.038 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.4715, allocations: 0 / 1.038 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.4716, allocations: 11.98 kB / 1.038 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.4718, allocations: 127.3 kB / 1.038 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4719, allocations: 0 / 1.038 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.4719, allocations: 3.938 kB / 1.038 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4719, allocations: 8 kB / 1.038 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.4722, allocations: 191.8 kB / 1.039 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.4725, allocations: 253.4 kB / 1.039 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.473, allocations: 210.4 kB / 1.039 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.473, allocations: 4 kB / 1.039 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002451/0.4733, allocations: 134.4 kB / 1.039 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.4733, allocations: 0 / 1.039 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0005093/0.4738, allocations: 245.4 kB / 1.039 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.4739, allocations: 85.11 kB / 1.039 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.4741, allocations: 225.4 kB / 1.04 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.4742, allocations: 29.7 kB / 1.04 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/0.4742, allocations: 112.1 kB / 1.04 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/0.4743, allocations: 51.34 kB / 1.04 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/0.4743, allocations: 4 kB / 1.04 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4745, allocations: 338.7 kB / 1.04 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.4746, allocations: 59.97 kB / 1.04 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.4747, allocations: 79.52 kB / 1.04 GB, free: 460 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.4748, allocations: 67.98 kB / 1.04 GB, free: 392 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4748, allocations: 3.984 kB / 1.04 GB, free: 388 kB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003229/0.4752, allocations: 213.4 kB / 1.041 GB, free: 168 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.4752, allocations: 4.328 kB / 1.041 GB, free: 164 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4752, allocations: 0 / 1.041 GB, free: 164 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4752, allocations: 4 kB / 1.041 GB, free: 160 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.4753, allocations: 27.92 kB / 1.041 GB, free: 132 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.4754, allocations: 3.984 kB / 1.041 GB, free: 128 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.947e-05/0.4754, allocations: 11.94 kB / 1.041 GB, free: 116 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.4755, allocations: 4 kB / 1.041 GB, free: 112 kB / 0.6823 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.4756, allocations: 145.8 kB / 1.041 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.4756, allocations: 15.81 kB / 1.041 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004863/0.4761, allocations: 278.5 kB / 1.041 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.4762, allocations: 4 kB / 1.041 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4762, allocations: 0 / 1.041 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4762, allocations: 3.984 kB / 1.041 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.4765, allocations: 281.5 kB / 1.041 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.4765, allocations: 4 kB / 1.041 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.4766, allocations: 35.92 kB / 1.041 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4766, allocations: 0 / 1.041 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.4766, allocations: 11.98 kB / 1.041 GB, free: 15.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4766, allocations: 4 kB / 1.041 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4766, allocations: 0 / 1.041 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.4771, allocations: 264.9 kB / 1.042 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.12e-05/0.4772, allocations: 112.7 kB / 1.042 GB, free: 14.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.4772, allocations: 8 kB / 1.042 GB, free: 14.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.76e-05/0.4773, allocations: 12 kB / 1.042 GB, free: 14.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.4774, allocations: 15.92 kB / 1.042 GB, free: 14.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.4774, allocations: 11.98 kB / 1.042 GB, free: 14.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000187/0.4776, allocations: 180.5 kB / 1.042 GB, free: 14.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4776, allocations: 0 / 1.042 GB, free: 14.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000282/0.4779, allocations: 55.98 kB / 1.042 GB, free: 14.59 MB / 0.698 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001711/0.4796, allocations: 1.168 MB / 1.043 GB, free: 13.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003373/0.48, allocations: 155.9 kB / 1.043 GB, free: 13.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.48, allocations: 0 / 1.043 GB, free: 13.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.4801, allocations: 95.84 kB / 1.043 GB, free: 13.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.4804, allocations: 33.86 kB / 1.043 GB, free: 13.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.4823, allocations: 1.278 MB / 1.045 GB, free: 11.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.4826, allocations: 0.7289 MB / 1.045 GB, free: 11.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.4828, allocations: 57.48 kB / 1.045 GB, free: 11.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.4829, allocations: 71.41 kB / 1.045 GB, free: 11.07 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.4829, allocations: 0 / 1.045 GB, free: 11.07 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.506, allocations: 4.987 MB / 1.05 GB, free: 6.238 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002808/0.5063, allocations: 258.8 kB / 1.051 GB, free: 5.898 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.459, allocations: 0 / 1.051 GB, free: 5.898 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)