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.004826/0.004826, allocations: 99.53 kB / 15.73 MB, free: 6.48 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.001328/0.001328, allocations: 193.8 kB / 16.68 MB, free: 6.363 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.34/2.34, allocations: 437.1 MB / 0.7106 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 63.91 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2427, allocations: 151.6 MB / 1.166 GB, free: 7.23 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002681/0.2454, allocations: 1.642 MB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.2474, allocations: 1.483 MB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.059e-05/0.2475, allocations: 3.938 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.2478, allocations: 51.75 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.248, allocations: 55.75 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.2483, allocations: 103.6 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.2485, allocations: 171.6 kB / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.471e-05/0.2486, allocations: 8.219 kB / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.217e-05/0.2487, allocations: 59.77 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.2488, allocations: 71.73 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.2489, allocations: 8 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.249, allocations: 71.97 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.2491, allocations: 39.91 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.729e-05/0.2491, allocations: 59.59 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.2494, allocations: 203.4 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2494, allocations: 0 / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2494, allocations: 0 / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.2494, allocations: 0 / 1.17 GB, free: 3.184 MB / 0.92 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.0005658/0.25, allocations: 474.3 kB / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.2501, allocations: 8.031 kB / 1.171 GB, free: 2.664 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.2501, allocations: 42.75 kB / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.2502, allocations: 20.8 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.2505, allocations: 256 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.2506, allocations: 8.375 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.2506, allocations: 11.88 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.2508, allocations: 115.3 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.2508, allocations: 0 / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.2508, allocations: 4 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2508, allocations: 8 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.2511, allocations: 139.9 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002307/0.2513, allocations: 225.5 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.2517, allocations: 174.4 kB / 1.172 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.2518, allocations: 60.84 kB / 1.172 GB, free: 1.5 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.2518, allocations: 7.984 kB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.252, allocations: 119.8 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.252, allocations: 0 / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0004453/0.2525, allocations: 225.2 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.2525, allocations: 85.05 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.2527, allocations: 202.6 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.2528, allocations: 29.7 kB / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.688e-05/0.2528, allocations: 116.1 kB / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.2529, allocations: 47.62 kB / 1.172 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.2529, allocations: 33.7 kB / 1.172 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.2531, allocations: 326.8 kB / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.2532, allocations: 47.97 kB / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.2533, allocations: 76.66 kB / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.2535, allocations: 125.7 kB / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.2535, allocations: 3.938 kB / 1.173 GB, free: 0 / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003172/0.2538, allocations: 189.5 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2539, allocations: 11.98 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2539, allocations: 0 / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.2539, allocations: 0 / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.254, allocations: 28.05 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.254, allocations: 7.922 kB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.2541, allocations: 8 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.2541, allocations: 8.031 kB / 1.173 GB, free: 15.75 MB / 0.9356 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.0001126/0.2542, allocations: 137.7 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.2542, allocations: 19.86 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.085e-05/0.2543, allocations: 29.52 kB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2543, allocations: 0 / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2543, allocations: 0 / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2543, allocations: 0 / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.2545, allocations: 245.4 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2546, allocations: 4 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.748e-05/0.2546, allocations: 19.98 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2546, allocations: 4 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.2546, allocations: 3.984 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.2546, allocations: 4 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2547, allocations: 0 / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.255, allocations: 212.9 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.255, allocations: 89.02 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.2551, allocations: 8 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.426e-05/0.2551, allocations: 4 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.2552, allocations: 19.92 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.2552, allocations: 7.984 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001403/0.2553, allocations: 152.5 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2554, allocations: 0 / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002306/0.2556, allocations: 43.88 kB / 1.174 GB, free: 14.66 MB / 0.9356 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.001945/0.2575, allocations: 1.1 MB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002535/0.2578, allocations: 123.9 kB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2578, allocations: 8.062 kB / 1.175 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.2579, allocations: 59.91 kB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.2582, allocations: 31.61 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.2603, allocations: 1.949 MB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.2606, allocations: 0.7241 MB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001044/0.2607, allocations: 49.66 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.2608, allocations: 59.41 kB / 1.178 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.2608, allocations: 0 / 1.178 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.396/4.657, allocations: 4.701 MB / 1.183 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/16.37, allocations: 9.703 kB / 1.183 GB, free: 6.043 MB / 0.9356 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=400 --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)