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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008214/0.0008215, allocations: 91.77 kB / 15.36 MB, free: 0.7344 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.005864/0.005864, allocations: 170 kB / 16.26 MB, free: 6.617 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.374/1.374, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.526/2.526, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.000308, allocations: 8 kB / 0.873 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6016/0.6019, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002228/0.6042, allocations: 1.364 MB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002082/0.6063, allocations: 1.432 MB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.123e-05/0.6064, allocations: 0 / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.6067, allocations: 47.83 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.6069, allocations: 55.83 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.6072, allocations: 91.77 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.6074, allocations: 155.6 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.558e-05/0.6074, allocations: 12.2 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.186e-05/0.6075, allocations: 59.77 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.6077, allocations: 63.75 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.6077, allocations: 8 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.6079, allocations: 55.98 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.797e-05/0.608, allocations: 43.81 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.574e-05/0.6081, allocations: 89.36 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.6083, allocations: 177.7 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.6083, allocations: 8 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6083, allocations: 3.938 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.6084, allocations: 0 / 1.027 GB, free: 12.18 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.0006605/0.609, allocations: 446.6 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.6091, allocations: 16.02 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.802e-05/0.6091, allocations: 34.75 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.6092, allocations: 16.75 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.6096, allocations: 256 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.6096, allocations: 4.375 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.6096, allocations: 7.938 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.6098, allocations: 115.3 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.6098, allocations: 0 / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.6099, allocations: 4 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.6099, allocations: 4 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.6101, allocations: 147.8 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00023/0.6103, allocations: 229.4 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.6107, allocations: 178.4 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.863e-05/0.6108, allocations: 56.83 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.6108, allocations: 4 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.6111, allocations: 115 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.6111, allocations: 0 / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004555/0.6116, allocations: 225.4 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.6116, allocations: 81.09 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.6118, allocations: 202.6 kB / 1.029 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.6119, allocations: 33.7 kB / 1.029 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.6119, allocations: 112.1 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.612, allocations: 43.45 kB / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.612, allocations: 21.72 kB / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.6122, allocations: 330.8 kB / 1.029 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.722e-05/0.6123, allocations: 43.98 kB / 1.029 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.6124, allocations: 74.55 kB / 1.029 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.6126, allocations: 117.8 kB / 1.029 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.6126, allocations: 7.875 kB / 1.03 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003245/0.6129, allocations: 197.4 kB / 1.03 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.613, allocations: 4 kB / 1.03 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.613, allocations: 0 / 1.03 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.613, allocations: 0 / 1.03 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.6131, allocations: 31.92 kB / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.6131, allocations: 0 / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.386e-05/0.6132, allocations: 19.78 kB / 1.03 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.6132, allocations: 4 kB / 1.03 GB, free: 8.801 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.0001238/0.6133, allocations: 141.8 kB / 1.03 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.6134, allocations: 15.81 kB / 1.03 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.228e-05/0.6134, allocations: 33.5 kB / 1.03 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.6135, allocations: 0 / 1.03 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.6135, allocations: 0 / 1.03 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.6135, allocations: 0 / 1.03 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.6137, allocations: 249.4 kB / 1.03 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.6137, allocations: 0 / 1.03 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.6138, allocations: 23.92 kB / 1.03 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.6138, allocations: 0 / 1.03 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.6138, allocations: 7.984 kB / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6138, allocations: 8 kB / 1.03 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6138, allocations: 0 / 1.03 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.6141, allocations: 210.1 kB / 1.03 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.6142, allocations: 100.8 kB / 1.031 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.6142, allocations: 4 kB / 1.031 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.082e-05/0.6143, allocations: 4 kB / 1.031 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.6143, allocations: 11.98 kB / 1.031 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.6144, allocations: 15.98 kB / 1.031 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001388/0.6145, allocations: 152.2 kB / 1.031 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6145, allocations: 3.938 kB / 1.031 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002492/0.6148, allocations: 39.98 kB / 1.031 GB, free: 7.707 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.001488/0.6163, allocations: 1.095 MB / 1.032 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002564/0.6165, allocations: 119.9 kB / 1.032 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6166, allocations: 3.938 kB / 1.032 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.6167, allocations: 63.91 kB / 1.032 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.617, allocations: 36.47 kB / 1.032 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.6191, allocations: 1.963 MB / 1.034 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.6194, allocations: 0.7166 MB / 1.035 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.6195, allocations: 53.64 kB / 1.035 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.83e-05/0.6196, allocations: 59.41 kB / 1.035 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.6196, allocations: 0 / 1.035 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01496/0.6346, allocations: 4.156 MB / 1.039 GB, free: 15.7 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/0.6348, allocations: 265.3 kB / 1.039 GB, free: 15.35 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.551, allocations: 3.938 kB / 1.039 GB, free: 15.35 MB / 0.795 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)