Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_11_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.001675/0.001675, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.288/1.288, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.563/2.563, allocations: 469.8 MB / 0.7424 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 62.12 kB / 0.9087 GB, free: 34.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2397, allocations: 159.2 MB / 1.064 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002628/0.2424, allocations: 1.65 MB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.2442, allocations: 1.483 MB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.921e-05/0.2443, allocations: 4 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003257/0.2446, allocations: 55.69 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.2448, allocations: 55.7 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.245, allocations: 109.1 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.2452, allocations: 163.7 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.374e-05/0.2452, allocations: 4.234 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.286e-05/0.2453, allocations: 63.78 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.2455, allocations: 63.8 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.2455, allocations: 15.88 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.2457, allocations: 71.97 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.2457, allocations: 43.89 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.347e-05/0.2458, allocations: 63.59 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.2461, allocations: 187.7 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2461, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2461, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2461, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 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.0005776/0.2467, allocations: 474.6 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.2467, allocations: 12.03 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.2467, allocations: 38.73 kB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.2468, allocations: 16.75 kB / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.2471, allocations: 259.9 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.2471, allocations: 384 / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.2472, allocations: 15.92 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.2474, allocations: 119.2 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2474, allocations: 0 / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.2474, allocations: 0 / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2474, allocations: 4 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.2476, allocations: 143.9 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/0.2479, allocations: 229.5 kB / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.2482, allocations: 170.5 kB / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.987e-05/0.2483, allocations: 56.83 kB / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.2484, allocations: 7.938 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.2486, allocations: 111.9 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.2486, allocations: 0 / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0004414/0.249, allocations: 227.4 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.2491, allocations: 77.11 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.2493, allocations: 205.3 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.2493, allocations: 33.7 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.2494, allocations: 112.1 kB / 1.07 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.2495, allocations: 55.36 kB / 1.07 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.2495, allocations: 29.72 kB / 1.07 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2496, allocations: 330.8 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.403e-05/0.2497, allocations: 52.09 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.2499, allocations: 71.89 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.2501, allocations: 126.8 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2501, allocations: 3.938 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003043/0.2504, allocations: 197.4 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.2504, allocations: 4 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.2504, allocations: 0 / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.2504, allocations: 0 / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.2505, allocations: 31.98 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.2505, allocations: 3.938 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/0.2506, allocations: 7.906 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.2506, allocations: 8.031 kB / 1.071 GB, free: 6.68 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 0.000116/0.2507, allocations: 147.8 kB / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.2508, allocations: 15.81 kB / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.439e-05/0.2508, allocations: 29.52 kB / 1.071 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2508, allocations: 0 / 1.071 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2508, allocations: 0 / 1.071 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2509, allocations: 0 / 1.071 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.2511, allocations: 237.4 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2511, allocations: 0 / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.065e-05/0.2511, allocations: 23.92 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2511, allocations: 4 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.2511, allocations: 8 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2512, allocations: 0 / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2512, allocations: 0 / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.2515, allocations: 206.5 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.2516, allocations: 85.02 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.2516, allocations: 11.98 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.396e-05/0.2516, allocations: 4 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.2517, allocations: 15.98 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.2517, allocations: 4 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001337/0.2518, allocations: 159 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.673e-06/0.2518, allocations: 3.938 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002258/0.2521, allocations: 47.84 kB / 1.072 GB, free: 5.605 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.001892/0.254, allocations: 1.104 MB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002589/0.2542, allocations: 131.9 kB / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2543, allocations: 4.062 kB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.2544, allocations: 69.66 kB / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.2546, allocations: 31.97 kB / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.2566, allocations: 1.933 MB / 1.075 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.2569, allocations: 0.7202 MB / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000104/0.2571, allocations: 53.66 kB / 1.076 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.837e-05/0.2571, allocations: 55.41 kB / 1.076 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2572, allocations: 0 / 1.076 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.356/1.613, allocations: 4.593 MB / 1.081 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.92, allocations: 7.688 kB / 1.081 GB, free: 13.12 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)