Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.732/1.732, allocations: 288.2 MB / 303.2 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 169.1 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008267/0.000827, allocations: 82.92 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003941, allocations: 16.78 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2553, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.001868/0.2572, allocations: 1.324 MB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.2588, allocations: 1.311 MB / 0.9821 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.582e-05/0.2589, allocations: 0 / 0.9821 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.2593, allocations: 39.78 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.2595, allocations: 47.81 kB / 0.9821 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.2597, allocations: 77.95 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.2598, allocations: 99.81 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.163e-05/0.2599, allocations: 8.172 kB / 0.9823 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.791e-05/0.26, allocations: 59.83 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.2602, allocations: 47.77 kB / 0.9824 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.2602, allocations: 8 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.433e-05/0.2603, allocations: 43.97 kB / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.365e-05/0.2604, allocations: 35.91 kB / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.2604, allocations: 41.64 kB / 0.9826 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.2606, allocations: 151.9 kB / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2606, allocations: 0 / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2606, allocations: 0 / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2606, allocations: 0 / 0.9827 GB, free: 24.3 MB / 0.6198 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.0005405/0.2612, allocations: 447.3 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.2612, allocations: 8.031 kB / 0.9831 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.024e-05/0.2613, allocations: 34.56 kB / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.2613, allocations: 19.77 kB / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.2617, allocations: 258.6 kB / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.2617, allocations: 7.984 kB / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.2618, allocations: 7.938 kB / 0.9834 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.262, allocations: 115.3 kB / 0.9836 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.262, allocations: 0 / 0.9836 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.262, allocations: 4 kB / 0.9836 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.262, allocations: 0 / 0.9836 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.2622, allocations: 139.9 kB / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.2624, allocations: 233.5 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.2627, allocations: 174.5 kB / 0.9841 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.2628, allocations: 7.984 kB / 0.9841 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.263, allocations: 111.4 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.263, allocations: 0 / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0004017/0.2634, allocations: 226.8 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.2635, allocations: 77.11 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.2637, allocations: 210.5 kB / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.2637, allocations: 33.7 kB / 0.9847 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.2637, allocations: 112.1 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.2638, allocations: 47.36 kB / 0.9849 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.2638, allocations: 0 / 0.9849 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.431e-05/0.2639, allocations: 330.8 kB / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/0.264, allocations: 47.97 kB / 0.9852 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.025e-05/0.2641, allocations: 81.48 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.041e-05/0.2642, allocations: 60.02 kB / 0.9854 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2642, allocations: 0 / 0.9854 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002515/0.2644, allocations: 195.3 kB / 0.9856 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.2645, allocations: 5.719 kB / 0.9856 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2645, allocations: 0 / 0.9856 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2645, allocations: 4 kB / 0.9856 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.2646, allocations: 23.98 kB / 0.9856 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.2646, allocations: 3.938 kB / 0.9856 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.951e-05/0.2647, allocations: 11.97 kB / 0.9856 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.2647, allocations: 8 kB / 0.9856 GB, free: 21.07 MB / 0.6198 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 9.882e-05/0.2648, allocations: 138.6 kB / 0.9857 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.2648, allocations: 15.81 kB / 0.9858 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.205e-05/0.2649, allocations: 29.5 kB / 0.9858 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2649, allocations: 0 / 0.9858 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2649, allocations: 4.328 kB / 0.9858 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2649, allocations: 0 / 0.9858 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.2651, allocations: 245.4 kB / 0.986 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2652, allocations: 7.938 kB / 0.986 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/0.2652, allocations: 19.94 kB / 0.986 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2652, allocations: 3.984 kB / 0.986 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.2652, allocations: 4 kB / 0.9861 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2652, allocations: 0 / 0.9861 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2653, allocations: 0 / 0.9861 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.2655, allocations: 212.8 kB / 0.9863 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.2656, allocations: 92.92 kB / 0.9863 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.2656, allocations: 11.98 kB / 0.9864 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.647e-05/0.2657, allocations: 4 kB / 0.9864 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.2657, allocations: 7.984 kB / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.2658, allocations: 12 kB / 0.9864 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001029/0.2659, allocations: 152.2 kB / 0.9865 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2659, allocations: 0 / 0.9865 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002348/0.2661, allocations: 36 kB / 0.9866 GB, free: 20 MB / 0.6198 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.00135/0.2675, allocations: 1.109 MB / 0.9876 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002608/0.2678, allocations: 119.9 kB / 0.9878 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2678, allocations: 4.062 kB / 0.9878 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.2679, allocations: 59.92 kB / 0.9878 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.2681, allocations: 33.41 kB / 0.9878 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.2695, allocations: 1.124 MB / 0.9889 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.2696, allocations: 0.728 MB / 0.9897 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001197/0.2698, allocations: 53.66 kB / 0.9897 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.91e-05/0.2699, allocations: 59.41 kB / 0.9898 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of SimCode: time 2.71e-07/0.2699, allocations: 0 / 0.9898 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.2871, allocations: 4.16 MB / 0.9938 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002723/0.2875, allocations: 261.6 kB / 0.9941 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/1.982, allocations: 0 / 0.9941 GB, free: 12.44 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)