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.449/1.449, allocations: 252 MB / 267 MB, free: 10.97 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.001046/0.001046, allocations: 179.2 kB / 326.6 MB, free: 2.211 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.888/1.888, allocations: 205.4 MB / 0.5777 GB, free: 20.54 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.000772/0.0007725, allocations: 84.36 kB / 0.6822 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003456, allocations: 11.62 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2553, allocations: 106.3 MB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.001785/0.2572, allocations: 1.347 MB / 0.9016 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.2588, allocations: 1.305 MB / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.318e-05/0.2588, allocations: 3.938 kB / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.2592, allocations: 51.83 kB / 0.903 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.2594, allocations: 51.77 kB / 0.903 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.2596, allocations: 66.91 kB / 0.9031 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.2598, allocations: 143.6 kB / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.2598, allocations: 8.234 kB / 0.9032 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.915e-05/0.2599, allocations: 55.77 kB / 0.9033 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.2601, allocations: 59.81 kB / 0.9033 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.2601, allocations: 4 kB / 0.9033 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.2602, allocations: 55.92 kB / 0.9034 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.854e-05/0.2603, allocations: 43.89 kB / 0.9034 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.2603, allocations: 49.62 kB / 0.9035 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.2605, allocations: 143.9 kB / 0.9036 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2605, allocations: 0 / 0.9036 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2605, allocations: 0 / 0.9036 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2605, allocations: 0 / 0.9036 GB, free: 60.76 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.0005454/0.2611, allocations: 438.7 kB / 0.904 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.2611, allocations: 8.031 kB / 0.904 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.2612, allocations: 38.55 kB / 0.9041 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.2612, allocations: 23.77 kB / 0.9041 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.2615, allocations: 250.7 kB / 0.9043 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.2615, allocations: 4 kB / 0.9043 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.2616, allocations: 7.938 kB / 0.9044 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.2618, allocations: 119.3 kB / 0.9045 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.2618, allocations: 0 / 0.9045 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.2618, allocations: 0 / 0.9045 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2618, allocations: 0 / 0.9045 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.262, allocations: 147.8 kB / 0.9046 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/0.2622, allocations: 233.5 kB / 0.9048 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.2625, allocations: 170.5 kB / 0.905 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.612e-05/0.2626, allocations: 52.78 kB / 0.905 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.2627, allocations: 7.984 kB / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.2629, allocations: 107.5 kB / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.2629, allocations: 3.938 kB / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0004084/0.2633, allocations: 222.3 kB / 0.9054 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.2634, allocations: 85.06 kB / 0.9055 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.2635, allocations: 206.5 kB / 0.9056 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.2636, allocations: 29.7 kB / 0.9057 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.2636, allocations: 120.1 kB / 0.9058 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.2637, allocations: 51.42 kB / 0.9058 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-06/0.2637, allocations: 4 kB / 0.9058 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.145e-05/0.2637, allocations: 326.8 kB / 0.9062 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.2639, allocations: 43.98 kB / 0.9062 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.319e-05/0.264, allocations: 70.55 kB / 0.9063 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.462e-05/0.2641, allocations: 56.98 kB / 0.9063 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2641, allocations: 0 / 0.9063 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002655/0.2644, allocations: 197.4 kB / 0.9065 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2644, allocations: 4 kB / 0.9065 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2644, allocations: 0 / 0.9065 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.2644, allocations: 0 / 0.9065 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.2646, allocations: 31.98 kB / 0.9065 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2646, allocations: 0 / 0.9065 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.197e-05/0.2646, allocations: 23.78 kB / 0.9066 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.2647, allocations: 7.984 kB / 0.9066 GB, free: 57.48 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 0.0001089/0.2648, allocations: 143.2 kB / 0.9067 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.2648, allocations: 15.81 kB / 0.9067 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.072e-05/0.2649, allocations: 25.52 kB / 0.9067 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2649, allocations: 0 / 0.9067 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2649, allocations: 0 / 0.9067 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2649, allocations: 0 / 0.9067 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.2651, allocations: 245.5 kB / 0.907 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2651, allocations: 0 / 0.907 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.897e-05/0.2652, allocations: 16 kB / 0.907 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2652, allocations: 0 / 0.907 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.2652, allocations: 15.98 kB / 0.907 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.2652, allocations: 0 / 0.907 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2652, allocations: 0 / 0.907 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.2655, allocations: 214.9 kB / 0.9072 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.2655, allocations: 92.92 kB / 0.9073 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.2655, allocations: 7.938 kB / 0.9073 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.943e-05/0.2656, allocations: 11.98 kB / 0.9073 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.2656, allocations: 7.984 kB / 0.9073 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.2657, allocations: 8 kB / 0.9073 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001074/0.2658, allocations: 152.5 kB / 0.9075 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2658, allocations: 0 / 0.9075 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002245/0.266, allocations: 36 kB / 0.9075 GB, free: 56.41 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.001342/0.2674, allocations: 1.102 MB / 0.9086 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002894/0.2677, allocations: 131.9 kB / 0.9087 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2677, allocations: 0 / 0.9087 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.2678, allocations: 51.98 kB / 0.9088 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.2681, allocations: 38 kB / 0.9088 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.2696, allocations: 0.9966 MB / 0.9098 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.2697, allocations: 0.7201 MB / 0.9105 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.2699, allocations: 53.66 kB / 0.9105 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.593e-05/0.27, allocations: 63.41 kB / 0.9106 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.27, allocations: 0 / 0.9106 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.2888, allocations: 4.167 MB / 0.9147 GB, free: 49.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003199/0.2892, allocations: 284.7 kB / 0.9149 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.18, allocations: 0 / 0.9149 GB, free: 48.95 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)