Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_8_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.001115/0.001115, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 196.6 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.783/1.783, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 67 kB / 0.6716 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2538, allocations: 114.6 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002995/0.2568, allocations: 1.632 MB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00197/0.2588, allocations: 1.411 MB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.9e-05/0.2589, allocations: 3.938 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004443/0.2594, allocations: 47.77 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.2596, allocations: 55.75 kB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.2598, allocations: 75.7 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.26, allocations: 163.6 kB / 0.7868 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/0.2601, allocations: 16.16 kB / 0.7868 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.531e-05/0.2602, allocations: 67.77 kB / 0.7869 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.2604, allocations: 66.25 kB / 0.7869 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.2604, allocations: 8 kB / 0.7869 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.2606, allocations: 67.97 kB / 0.787 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.998e-05/0.2606, allocations: 43.78 kB / 0.7871 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.563e-05/0.2607, allocations: 67.64 kB / 0.7871 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.261, allocations: 187.7 kB / 0.7873 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.261, allocations: 0 / 0.7873 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.261, allocations: 0 / 0.7873 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.261, allocations: 4 kB / 0.7873 GB, free: 9.469 MB / 0.6075 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.0008744/0.2619, allocations: 466.6 kB / 0.7877 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/0.262, allocations: 12.03 kB / 0.7878 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.267e-05/0.2621, allocations: 34.75 kB / 0.7878 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.167e-05/0.2622, allocations: 20.75 kB / 0.7878 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.2626, allocations: 271.5 kB / 0.7881 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.2626, allocations: 384 / 0.7881 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.2627, allocations: 15.91 kB / 0.7881 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.263, allocations: 119.3 kB / 0.7882 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.263, allocations: 0 / 0.7882 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.263, allocations: 0 / 0.7882 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.263, allocations: 4 kB / 0.7882 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.2633, allocations: 143.8 kB / 0.7883 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.2636, allocations: 225.6 kB / 0.7886 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000407/0.264, allocations: 182.5 kB / 0.7887 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.2641, allocations: 52.78 kB / 0.7888 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.2642, allocations: 7.984 kB / 0.7888 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003298/0.2645, allocations: 112.2 kB / 0.7889 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.2645, allocations: 3.938 kB / 0.7889 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005149/0.265, allocations: 224.2 kB / 0.7891 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.2651, allocations: 81.11 kB / 0.7892 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.2654, allocations: 210.5 kB / 0.7894 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.2654, allocations: 29.7 kB / 0.7894 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.2655, allocations: 112.1 kB / 0.7895 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.01e-05/0.2656, allocations: 39.45 kB / 0.7896 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.2656, allocations: 33.7 kB / 0.7896 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2658, allocations: 330.8 kB / 0.7899 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.741e-05/0.2659, allocations: 47.97 kB / 0.79 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.266, allocations: 78.48 kB / 0.79 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.2662, allocations: 125.6 kB / 0.7901 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2662, allocations: 3.938 kB / 0.7902 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003184/0.2665, allocations: 193.3 kB / 0.7903 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2666, allocations: 7.984 kB / 0.7903 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2666, allocations: 64 / 0.7903 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.2666, allocations: 8 kB / 0.7904 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.2667, allocations: 23.98 kB / 0.7904 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2667, allocations: 0 / 0.7904 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.06e-05/0.2668, allocations: 11.94 kB / 0.7904 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.2668, allocations: 4 kB / 0.7904 GB, free: 6.039 MB / 0.6075 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.0001348/0.267, allocations: 142.4 kB / 0.7905 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.267, allocations: 19.75 kB / 0.7905 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.045e-05/0.2671, allocations: 25.5 kB / 0.7906 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.2671, allocations: 8 kB / 0.7906 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2671, allocations: 0 / 0.7906 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2671, allocations: 0 / 0.7906 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.2673, allocations: 245.4 kB / 0.7908 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2674, allocations: 0 / 0.7908 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.935e-05/0.2674, allocations: 16 kB / 0.7908 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2674, allocations: 0 / 0.7908 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.2675, allocations: 15.98 kB / 0.7908 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2675, allocations: 0 / 0.7908 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2675, allocations: 0 / 0.7908 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.2678, allocations: 224 kB / 0.7911 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.2679, allocations: 88.92 kB / 0.7911 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.2679, allocations: 4 kB / 0.7911 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.796e-05/0.268, allocations: 4 kB / 0.7911 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.268, allocations: 11.98 kB / 0.7912 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.2681, allocations: 4 kB / 0.7912 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001459/0.2682, allocations: 159 kB / 0.7913 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2682, allocations: 0 / 0.7913 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002669/0.2685, allocations: 39.98 kB / 0.7914 GB, free: 4.957 MB / 0.6075 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.001592/0.2701, allocations: 1.1 MB / 0.7924 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003143/0.2704, allocations: 133.1 kB / 0.7926 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2704, allocations: 0 / 0.7926 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.2706, allocations: 63.91 kB / 0.7926 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.2709, allocations: 30.83 kB / 0.7926 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.2731, allocations: 1.942 MB / 0.7945 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.2734, allocations: 0.7202 MB / 0.7952 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001158/0.2735, allocations: 45.66 kB / 0.7953 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.2736, allocations: 59.41 kB / 0.7953 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.2737, allocations: 0 / 0.7953 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.2969, allocations: 4.591 MB / 0.7998 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.744/8.041, allocations: 10.5 kB / 0.7998 GB, free: 12.48 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv --start-time 0 --stop-time 603900 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)