Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_latest_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.001035/0.001035, allocations: 97.64 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.007676/0.007676, allocations: 171.4 kB / 16.27 MB, free: 6.32 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.236/1.236, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.415/2.415, allocations: 462.7 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002823, allocations: 10.44 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2203, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.001641/0.222, allocations: 1.374 MB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.2237, allocations: 1.433 MB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.857e-05/0.2238, allocations: 0 / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.2241, allocations: 51.83 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.2242, allocations: 43.83 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.2245, allocations: 91.7 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.2247, allocations: 155.6 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.358e-05/0.2247, allocations: 4.234 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.292e-05/0.2248, allocations: 63.7 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.225, allocations: 67.8 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.225, allocations: 7.984 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.2251, allocations: 55.98 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.416e-05/0.2252, allocations: 47.77 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.903e-05/0.2253, allocations: 81.36 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.2255, allocations: 183.7 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2255, allocations: 0 / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.664e-06/0.2255, allocations: 4 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.2255, allocations: 0 / 1.062 GB, free: 1.191 MB / 0.8106 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.0004939/0.226, allocations: 446.8 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2261, allocations: 15.97 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.757e-05/0.2261, allocations: 38.73 kB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.2262, allocations: 16.75 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.2264, allocations: 255.9 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.2265, allocations: 4.375 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.2265, allocations: 7.938 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.2267, allocations: 111.3 kB / 1.063 GB, free: 212 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2267, allocations: 7.984 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.2267, allocations: 4 kB / 1.063 GB, free: 200 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2267, allocations: 4 kB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.2269, allocations: 147.7 kB / 1.063 GB, free: 48 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.2272, allocations: 229.5 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.2275, allocations: 170.5 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.408e-05/0.2276, allocations: 68.83 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.2276, allocations: 4 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.2278, allocations: 110 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.2279, allocations: 0 / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0004105/0.2283, allocations: 225.4 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.2283, allocations: 77.11 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.2285, allocations: 201.3 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.2285, allocations: 33.7 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.2286, allocations: 112.1 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.2286, allocations: 55.28 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.2287, allocations: 17.72 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.533e-05/0.2288, allocations: 326.8 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.921e-05/0.2288, allocations: 47.97 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.954e-05/0.229, allocations: 76.94 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.2291, allocations: 129.7 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2292, allocations: 3.938 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002816/0.2294, allocations: 200.2 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.2295, allocations: 4 kB / 1.065 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2295, allocations: 0 / 1.065 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.2295, allocations: 0 / 1.065 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.2296, allocations: 27.98 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2296, allocations: 0 / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.549e-05/0.2297, allocations: 12.03 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.2297, allocations: 4 kB / 1.065 GB, free: 13.81 MB / 0.8262 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 9.837e-05/0.2298, allocations: 137.7 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.2298, allocations: 15.81 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.416e-05/0.2299, allocations: 29.52 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.2299, allocations: 0 / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.2299, allocations: 0 / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2299, allocations: 3.984 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.2301, allocations: 253.3 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2301, allocations: 0 / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.849e-05/0.2301, allocations: 19.98 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2301, allocations: 0 / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.2302, allocations: 0 / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2302, allocations: 4 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2302, allocations: 3.938 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.2305, allocations: 216.8 kB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.2305, allocations: 96.91 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.2306, allocations: 8 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.874e-05/0.2306, allocations: 4 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.2306, allocations: 11.98 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.2307, allocations: 4 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001253/0.2308, allocations: 159 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2308, allocations: 4 kB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002242/0.231, allocations: 28 kB / 1.066 GB, free: 12.73 MB / 0.8262 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.001306/0.2323, allocations: 1.107 MB / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00023/0.2326, allocations: 133.1 kB / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2326, allocations: 0 / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.975e-05/0.2327, allocations: 55.97 kB / 1.068 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.233, allocations: 27.98 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.2348, allocations: 1.955 MB / 1.07 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.235, allocations: 0.7244 MB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001102/0.2352, allocations: 61.59 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-05/0.2353, allocations: 55.41 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.2353, allocations: 3.938 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6216/0.8569, allocations: 4.17 MB / 1.074 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002625/0.8572, allocations: 273.9 kB / 1.075 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.61, allocations: 0 / 1.075 GB, free: 4.34 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)