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.001724/0.001724, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001959/0.001959, allocations: 192 kB / 16.14 MB, free: 6.711 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.305/1.305, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.501/2.501, allocations: 461.8 MB / 0.7342 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 68.58 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2255, allocations: 157.4 MB / 1.052 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002746/0.2283, allocations: 1.697 MB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001803/0.2301, allocations: 1.456 MB / 1.055 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.2302, allocations: 0 / 1.055 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.2306, allocations: 55.83 kB / 1.055 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.2307, allocations: 43.83 kB / 1.055 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.231, allocations: 95.69 kB / 1.055 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.2312, allocations: 155.6 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.15e-05/0.2312, allocations: 4.234 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.806e-05/0.2313, allocations: 51.84 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.2315, allocations: 75.67 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.2315, allocations: 8 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.2316, allocations: 59.97 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.565e-05/0.2317, allocations: 39.89 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.974e-05/0.2318, allocations: 63.53 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.232, allocations: 195.7 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.232, allocations: 0 / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.22e-07/0.232, allocations: 0 / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.232, allocations: 0 / 1.056 GB, free: 4.113 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.0005445/0.2326, allocations: 458.7 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2326, allocations: 15.97 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.934e-05/0.2327, allocations: 42.73 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.2327, allocations: 16.75 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.233, allocations: 255.9 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.233, allocations: 8.375 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.2331, allocations: 7.938 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.2333, allocations: 115.3 kB / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.2333, allocations: 0 / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.2333, allocations: 8 kB / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2333, allocations: 0 / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.2335, allocations: 139.9 kB / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.2338, allocations: 229.5 kB / 1.057 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.2341, allocations: 178.4 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.862e-05/0.2342, allocations: 56.83 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.2343, allocations: 12 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.2345, allocations: 106.5 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.2345, allocations: 0 / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0004453/0.2349, allocations: 225.4 kB / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.235, allocations: 81.22 kB / 1.058 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.2352, allocations: 205.2 kB / 1.058 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.2352, allocations: 37.69 kB / 1.058 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.2353, allocations: 108.1 kB / 1.058 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.2353, allocations: 55.36 kB / 1.058 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.2354, allocations: 29.72 kB / 1.058 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.2355, allocations: 330.8 kB / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.727e-05/0.2356, allocations: 47.98 kB / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.2357, allocations: 74.55 kB / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.2359, allocations: 125.7 kB / 1.059 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2359, allocations: 3.938 kB / 1.059 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002936/0.2362, allocations: 191.6 kB / 1.059 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2362, allocations: 8 kB / 1.059 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2362, allocations: 3.938 kB / 1.059 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2363, allocations: 3.984 kB / 1.059 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.2364, allocations: 23.98 kB / 1.059 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2364, allocations: 4 kB / 1.059 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.563e-05/0.2364, allocations: 11.94 kB / 1.059 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.2365, allocations: 8 kB / 1.059 GB, free: 0.6953 MB / 0.8106 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.0001048/0.2366, allocations: 147.3 kB / 1.059 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.2366, allocations: 15.81 kB / 1.059 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.731e-05/0.2367, allocations: 29.5 kB / 1.059 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2367, allocations: 4 kB / 1.059 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2367, allocations: 0 / 1.059 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2367, allocations: 0 / 1.059 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.2369, allocations: 233.5 kB / 1.06 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2369, allocations: 4 kB / 1.06 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.832e-05/0.2369, allocations: 19.98 kB / 1.06 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.237, allocations: 4 kB / 1.06 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.237, allocations: 0 / 1.06 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.237, allocations: 0 / 1.06 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.237, allocations: 4 kB / 1.06 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.2373, allocations: 216.8 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.2374, allocations: 96.86 kB / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.2374, allocations: 7.984 kB / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.872e-05/0.2375, allocations: 7.938 kB / 1.06 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.2375, allocations: 11.98 kB / 1.06 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.2375, allocations: 4 kB / 1.06 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001237/0.2377, allocations: 163 kB / 1.06 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2377, allocations: 0 / 1.06 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000239/0.2379, allocations: 32 kB / 1.06 GB, free: 15.62 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.001395/0.2393, allocations: 1.1 MB / 1.061 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002448/0.2396, allocations: 120 kB / 1.061 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2396, allocations: 0 / 1.061 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.2397, allocations: 67.91 kB / 1.061 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.24, allocations: 28.92 kB / 1.061 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.2419, allocations: 1.96 MB / 1.063 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.2422, allocations: 0.7166 MB / 1.064 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001153/0.2423, allocations: 57.66 kB / 1.064 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.563e-05/0.2424, allocations: 60.41 kB / 1.064 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.2424, allocations: 0 / 1.064 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2262/0.4686, allocations: 4.406 MB / 1.068 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/0.4688, allocations: 272.7 kB / 1.069 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/2.184, allocations: 3.938 kB / 1.069 GB, free: 6.977 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)