Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_10_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.001171/0.001171, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 193.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.527/2.527, allocations: 437.1 MB / 0.7101 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001502, allocations: 63.91 kB / 0.8689 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5775/0.579, allocations: 151.6 MB / 1.017 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002837/0.5819, allocations: 1.695 MB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.5838, allocations: 1.467 MB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.463e-05/0.5839, allocations: 3.938 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.5843, allocations: 47.83 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.5845, allocations: 47.83 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.5847, allocations: 87.78 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.5849, allocations: 171.6 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.945e-05/0.585, allocations: 8.234 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.5851, allocations: 67.7 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.5852, allocations: 67.81 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.5853, allocations: 15.98 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.5854, allocations: 63.97 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.786e-05/0.5855, allocations: 51.77 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.438e-05/0.5856, allocations: 51.67 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.5858, allocations: 193.7 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5858, allocations: 4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5858, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5858, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 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.0005897/0.5864, allocations: 474.6 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.5865, allocations: 8.031 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.5865, allocations: 46.67 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.5866, allocations: 16.75 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.5869, allocations: 247.9 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.5869, allocations: 4.375 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.587, allocations: 11.94 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.5872, allocations: 115.3 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.5872, allocations: 7.938 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.5872, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.5872, allocations: 3.938 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.5875, allocations: 143.8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002369/0.5877, allocations: 241.4 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.5881, allocations: 170.5 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.839e-05/0.5882, allocations: 56.83 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.5883, allocations: 8 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.5885, allocations: 114.9 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.5885, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004671/0.589, allocations: 217.4 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.589, allocations: 85.11 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.5893, allocations: 206.6 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.5893, allocations: 33.69 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.5893, allocations: 112.1 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.723e-05/0.5894, allocations: 43.45 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.5895, allocations: 29.72 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.5896, allocations: 326.8 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.763e-05/0.5897, allocations: 51.92 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.5898, allocations: 80.23 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.59, allocations: 117.8 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.59, allocations: 7.875 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003188/0.5904, allocations: 193 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.5904, allocations: 8 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5904, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.5904, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.5905, allocations: 23.98 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.5906, allocations: 8.062 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.043e-05/0.5906, allocations: 11.84 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.5906, allocations: 15.92 kB / 1.024 GB, free: 11.19 MB / 0.7794 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.0001244/0.5908, allocations: 139.1 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.5908, allocations: 15.81 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.352e-05/0.5909, allocations: 25.52 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.5909, allocations: 4 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5909, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5909, allocations: 4 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.5911, allocations: 233.5 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5911, allocations: 0 / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.413e-05/0.5912, allocations: 23.98 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5912, allocations: 4 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.5912, allocations: 3.938 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.086e-05/0.5912, allocations: 7.922 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.5912, allocations: 4 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.5916, allocations: 208.8 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.5917, allocations: 100.8 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.5917, allocations: 4 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.963e-05/0.5918, allocations: 4 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.5918, allocations: 11.98 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.5918, allocations: 4 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001395/0.592, allocations: 160.2 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.592, allocations: 0 / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000253/0.5922, allocations: 36 kB / 1.025 GB, free: 10.12 MB / 0.7794 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.001542/0.5938, allocations: 1.107 MB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002954/0.5941, allocations: 135.9 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5941, allocations: 0 / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.5942, allocations: 63.91 kB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.5945, allocations: 41.05 kB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.5968, allocations: 1.958 MB / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.597, allocations: 0.7202 MB / 1.029 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001162/0.5972, allocations: 53.66 kB / 1.029 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.5973, allocations: 55.41 kB / 1.029 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.5973, allocations: 0 / 1.029 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.6143, allocations: 4.494 MB / 1.033 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/0.6146, allocations: 276.2 kB / 1.034 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.507, allocations: 1.875 kB / 1.034 GB, free: 1.383 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)