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.419/1.419, allocations: 249.5 MB / 257 MB, free: 6.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 188.8 kB / 316.3 MB, free: 3.238 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.498/1.498, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0008074/0.0008074, allocations: 86.53 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.114e-05/2.116e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2042, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6817/0.886, allocations: 135.2 MB / 1.017 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.8863, allocations: 94.42 kB / 1.017 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01346/0.8998, allocations: 5.131 MB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8998, allocations: 0 / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.8998, allocations: 0 / 1.022 GB, free: 14 MB / 0.6511 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.0005097/0.9004, allocations: 438.5 kB / 1.023 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.9004, allocations: 12.03 kB / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.525e-05/0.9005, allocations: 15.81 kB / 1.023 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.9008, allocations: 248 kB / 1.023 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.9009, allocations: 0 / 1.023 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.9009, allocations: 11.98 kB / 1.023 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002878/0.9012, allocations: 188.4 kB / 1.023 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.9014, allocations: 124 kB / 1.023 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.9014, allocations: 0 / 1.023 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.9014, allocations: 0 / 1.023 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.9014, allocations: 0 / 1.023 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002553/0.9017, allocations: 229.3 kB / 1.024 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004151/0.9021, allocations: 197.7 kB / 1.024 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.384e-05/0.9022, allocations: 59.16 kB / 1.024 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.9022, allocations: 0 / 1.024 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.9024, allocations: 117.2 kB / 1.024 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 2.705e-06/0.9024, allocations: 3.984 kB / 1.024 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0003468/0.9028, allocations: 193.9 kB / 1.024 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.9029, allocations: 85.11 kB / 1.024 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.9031, allocations: 213.7 kB / 1.025 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.9031, allocations: 29.69 kB / 1.025 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.9032, allocations: 110.1 kB / 1.025 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.9032, allocations: 46.83 kB / 1.025 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.9032, allocations: 0 / 1.025 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.9034, allocations: 325.8 kB / 1.025 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.586e-05/0.9035, allocations: 53.8 kB / 1.025 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.058e-05/0.9036, allocations: 79.98 kB / 1.025 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.891e-05/0.9037, allocations: 67.92 kB / 1.025 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.9037, allocations: 3.938 kB / 1.025 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002823/0.904, allocations: 201.2 kB / 1.025 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.904, allocations: 4 kB / 1.025 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.904, allocations: 0 / 1.025 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.904, allocations: 0 / 1.025 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.9042, allocations: 31.92 kB / 1.025 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.9042, allocations: 64 / 1.025 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.102e-05/0.9043, allocations: 11.94 kB / 1.025 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.9043, allocations: 14.98 kB / 1.025 GB, free: 11.12 MB / 0.6511 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 () * 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.221e-05/0.9044, allocations: 111.5 kB / 1.026 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002627/0.9046, allocations: 187.3 kB / 1.026 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.9047, allocations: 19.8 kB / 1.026 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004006/0.9051, allocations: 263.8 kB / 1.026 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.9051, allocations: 4 kB / 1.026 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.9051, allocations: 0 / 1.026 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.9051, allocations: 0 / 1.026 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.9054, allocations: 251.8 kB / 1.026 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.9054, allocations: 3.984 kB / 1.026 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.9055, allocations: 35.44 kB / 1.026 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.9055, allocations: 3.984 kB / 1.026 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.9055, allocations: 4 kB / 1.026 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.9055, allocations: 0 / 1.026 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.9055, allocations: 0 / 1.026 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.9059, allocations: 261.3 kB / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.373e-05/0.906, allocations: 104.5 kB / 1.027 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.906, allocations: 4 kB / 1.027 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.584e-05/0.9061, allocations: 0 / 1.027 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.9061, allocations: 15.3 kB / 1.027 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.9062, allocations: 11.98 kB / 1.027 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000153/0.9063, allocations: 173.3 kB / 1.027 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9063, allocations: 0 / 1.027 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002762/0.9066, allocations: 55.36 kB / 1.027 GB, free: 9.754 MB / 0.6511 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) * 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.001355/0.908, allocations: 1.087 MB / 1.028 GB, free: 8.773 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.9082, allocations: 142 kB / 1.028 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.9082, allocations: 0 / 1.028 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.9084, allocations: 84.23 kB / 1.028 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.9086, allocations: 34.11 kB / 1.028 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00065/0.9093, allocations: 315.4 kB / 1.029 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.9096, allocations: 0.7356 MB / 1.029 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.9097, allocations: 49.81 kB / 1.029 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.9099, allocations: 67.41 kB / 1.029 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of SimCode: time 3.01e-07/0.9099, allocations: 7.938 kB / 1.029 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.9332, allocations: 4.465 MB / 1.034 GB, free: 2.984 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/0.9335, allocations: 199.6 kB / 1.034 GB, free: 2.703 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/2.578, allocations: 3.797 kB / 1.034 GB, free: 2.703 MB / 0.6511 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)