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.493/1.493, allocations: 251.9 MB / 266.9 MB, free: 11 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.001505/0.001506, allocations: 179 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.965/1.965, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.001085/0.001085, allocations: 104.5 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003866, allocations: 12.22 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2505, allocations: 106.3 MB / 0.9002 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.001816/0.2524, allocations: 1.332 MB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.254, allocations: 1.313 MB / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.456e-05/0.2541, allocations: 0 / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003866/0.2545, allocations: 47.75 kB / 0.9028 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.2546, allocations: 47.88 kB / 0.9028 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.2548, allocations: 67.8 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.255, allocations: 103.8 kB / 0.903 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.756e-05/0.255, allocations: 4.234 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.778e-05/0.2551, allocations: 55.83 kB / 0.9031 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.2553, allocations: 55.02 kB / 0.9031 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.2553, allocations: 4 kB / 0.9031 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.991e-05/0.2554, allocations: 47.91 kB / 0.9032 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.411e-05/0.2555, allocations: 35.89 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.2555, allocations: 45.64 kB / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.2557, allocations: 147.9 kB / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2557, allocations: 4 kB / 0.9034 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.715e-06/0.2557, allocations: 0 / 0.9034 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2557, allocations: 0 / 0.9034 GB, free: 60.45 MB / 0.6042 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.0005379/0.2563, allocations: 430.7 kB / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2563, allocations: 12.03 kB / 0.9038 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.412e-05/0.2564, allocations: 38.55 kB / 0.9038 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.2564, allocations: 19.77 kB / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.2567, allocations: 254.7 kB / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.2568, allocations: 7.938 kB / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.2568, allocations: 4 kB / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.257, allocations: 119.3 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.257, allocations: 0 / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.257, allocations: 3.984 kB / 0.9042 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.257, allocations: 4 kB / 0.9042 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.2572, allocations: 143.8 kB / 0.9044 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001907/0.2574, allocations: 229.5 kB / 0.9046 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.2577, allocations: 178.4 kB / 0.9048 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.2578, allocations: 7.984 kB / 0.9048 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/0.258, allocations: 109.5 kB / 0.9049 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.983e-06/0.258, allocations: 0 / 0.9049 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0003981/0.2584, allocations: 221.7 kB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.2585, allocations: 85.11 kB / 0.9052 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.2586, allocations: 206.5 kB / 0.9054 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.2586, allocations: 33.64 kB / 0.9054 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.2587, allocations: 112.1 kB / 0.9055 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.2587, allocations: 47.44 kB / 0.9055 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-06/0.2587, allocations: 4 kB / 0.9056 GB, free: 58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.556e-05/0.2588, allocations: 326.8 kB / 0.9059 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.2e-05/0.2589, allocations: 47.98 kB / 0.9059 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.896e-05/0.259, allocations: 79.75 kB / 0.906 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.149e-05/0.2591, allocations: 54.86 kB / 0.906 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2591, allocations: 0 / 0.906 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002515/0.2594, allocations: 201.4 kB / 0.9062 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2594, allocations: 4 kB / 0.9062 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.2594, allocations: 0 / 0.9062 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2594, allocations: 0 / 0.9062 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.2595, allocations: 32.05 kB / 0.9063 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.2595, allocations: 3.938 kB / 0.9063 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.54e-05/0.2596, allocations: 15.86 kB / 0.9063 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.2596, allocations: 7.984 kB / 0.9063 GB, free: 57.23 MB / 0.6042 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 8.86e-05/0.2597, allocations: 129.8 kB / 0.9064 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.2597, allocations: 15.81 kB / 0.9064 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.077e-05/0.2598, allocations: 33.5 kB / 0.9065 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2598, allocations: 0 / 0.9065 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2598, allocations: 4 kB / 0.9065 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2598, allocations: 0 / 0.9065 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.26, allocations: 241.5 kB / 0.9067 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.26, allocations: 0 / 0.9067 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.2601, allocations: 19.98 kB / 0.9067 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2601, allocations: 3.938 kB / 0.9067 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.2601, allocations: 4 kB / 0.9067 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2601, allocations: 3.984 kB / 0.9067 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2601, allocations: 0 / 0.9067 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.2604, allocations: 212.9 kB / 0.9069 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.2604, allocations: 92.91 kB / 0.907 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.2605, allocations: 8 kB / 0.907 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.597e-05/0.2605, allocations: 4 kB / 0.907 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.2606, allocations: 11.98 kB / 0.907 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.2606, allocations: 11.92 kB / 0.9071 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.759e-05/0.2607, allocations: 152.4 kB / 0.9072 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2607, allocations: 0 / 0.9072 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002455/0.261, allocations: 35.98 kB / 0.9072 GB, free: 56.17 MB / 0.6042 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 (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.001391/0.2624, allocations: 1.106 MB / 0.9083 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.2626, allocations: 123.9 kB / 0.9084 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2626, allocations: 0 / 0.9084 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.688e-05/0.2627, allocations: 60.16 kB / 0.9085 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.263, allocations: 30.02 kB / 0.9085 GB, free: 55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.2643, allocations: 1.132 MB / 0.9096 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.2645, allocations: 0.728 MB / 0.9103 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.2646, allocations: 53.66 kB / 0.9104 GB, free: 53 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.206e-05/0.2647, allocations: 55.41 kB / 0.9104 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of SimCode: time 8.72e-07/0.2647, allocations: 0 / 0.9104 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.2817, allocations: 4.151 MB / 0.9145 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.2819, allocations: 268.7 kB / 0.9147 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.045, allocations: 0 / 0.9147 GB, free: 48.62 MB / 0.6042 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)