Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001329, allocations: 109.4 kB / 15.69 MB, free: 128 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.001639/0.001639, allocations: 186.4 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.1 MB / 222.5 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.749/1.749, allocations: 292.3 MB / 0.549 GB, free: 12.72 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 72.52 kB / 0.6723 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.251, allocations: 114.5 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003072/0.2541, allocations: 1.628 MB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00189/0.2561, allocations: 1.407 MB / 0.7871 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.398e-05/0.2561, allocations: 4 kB / 0.7871 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004948/0.2567, allocations: 55.69 kB / 0.7872 GB, free: 9.594 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.2569, allocations: 51.75 kB / 0.7872 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.2571, allocations: 82.89 kB / 0.7873 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.2573, allocations: 171.6 kB / 0.7874 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.589e-05/0.2574, allocations: 8.234 kB / 0.7875 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.493e-05/0.2575, allocations: 67.72 kB / 0.7875 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.2576, allocations: 74.22 kB / 0.7876 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.2577, allocations: 8 kB / 0.7876 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.2578, allocations: 63.98 kB / 0.7877 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.996e-05/0.2579, allocations: 39.89 kB / 0.7877 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.265e-05/0.258, allocations: 67.48 kB / 0.7878 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.2582, allocations: 195.4 kB / 0.7879 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2583, allocations: 0 / 0.7879 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2583, allocations: 0 / 0.7879 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2583, allocations: 0 / 0.7879 GB, free: 8.785 MB / 0.6075 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.0006139/0.2589, allocations: 474.6 kB / 0.7884 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2589, allocations: 12.03 kB / 0.7884 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.164e-05/0.259, allocations: 20.69 kB / 0.7884 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.2594, allocations: 255.9 kB / 0.7887 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.2594, allocations: 384 / 0.7887 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.2594, allocations: 12.12 kB / 0.7887 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.2597, allocations: 115.3 kB / 0.7888 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2597, allocations: 0 / 0.7888 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.2597, allocations: 0 / 0.7888 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.2597, allocations: 4 kB / 0.7888 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.2599, allocations: 139.9 kB / 0.7889 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002401/0.2602, allocations: 233.5 kB / 0.7892 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.2606, allocations: 170.5 kB / 0.7893 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.871e-05/0.2607, allocations: 64.77 kB / 0.7894 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.2607, allocations: 8 kB / 0.7894 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.2609, allocations: 107.4 kB / 0.7895 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.2609, allocations: 0 / 0.7895 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0004685/0.2614, allocations: 221.4 kB / 0.7897 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.2615, allocations: 81.11 kB / 0.7898 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.2617, allocations: 202.6 kB / 0.79 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.2617, allocations: 29.7 kB / 0.79 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/0.2618, allocations: 116.1 kB / 0.7901 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.2e-05/0.2618, allocations: 47.38 kB / 0.7902 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.2619, allocations: 29.72 kB / 0.7902 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.262, allocations: 330.8 kB / 0.7905 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.151e-05/0.2621, allocations: 43.98 kB / 0.7905 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.2622, allocations: 77.92 kB / 0.7906 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.2624, allocations: 133.1 kB / 0.7907 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2624, allocations: 0 / 0.7907 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003001/0.2627, allocations: 197.2 kB / 0.7909 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2628, allocations: 4 kB / 0.7909 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2628, allocations: 4.109 kB / 0.7909 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2628, allocations: 11.86 kB / 0.791 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.2629, allocations: 28.05 kB / 0.791 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.263, allocations: 4 kB / 0.791 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.263, allocations: 4 kB / 0.791 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.263, allocations: 8 kB / 0.791 GB, free: 5.414 MB / 0.6075 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.0001185/0.2631, allocations: 148.9 kB / 0.7911 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.2632, allocations: 15.81 kB / 0.7912 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.2632, allocations: 21.52 kB / 0.7912 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.2633, allocations: 4 kB / 0.7912 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2633, allocations: 0 / 0.7912 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2633, allocations: 7.984 kB / 0.7912 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.2635, allocations: 241.4 kB / 0.7914 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2635, allocations: 0 / 0.7914 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-05/0.2635, allocations: 20 kB / 0.7914 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2636, allocations: 7.984 kB / 0.7914 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.2636, allocations: 0 / 0.7914 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2636, allocations: 0 / 0.7914 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2636, allocations: 4 kB / 0.7914 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.2639, allocations: 220.8 kB / 0.7917 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.45e-05/0.264, allocations: 88.92 kB / 0.7917 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.264, allocations: 8 kB / 0.7917 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.264, allocations: 0 / 0.7917 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.2641, allocations: 11.98 kB / 0.7918 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.2641, allocations: 11.98 kB / 0.7918 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001191/0.2642, allocations: 152.2 kB / 0.7919 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2643, allocations: 0 / 0.7919 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002561/0.2645, allocations: 35.98 kB / 0.7919 GB, free: 4.34 MB / 0.6075 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.001014/0.2655, allocations: 458.6 kB / 0.7924 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002669/0.2658, allocations: 121.1 kB / 0.7925 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2658, allocations: 0 / 0.7925 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.2659, allocations: 67.84 kB / 0.7926 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.2662, allocations: 43.41 kB / 0.7926 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/0.2668, allocations: 295 kB / 0.7929 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.267, allocations: 0.7163 MB / 0.7936 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.2671, allocations: 45.52 kB / 0.7936 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.2672, allocations: 35.42 kB / 0.7937 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2672, allocations: 0 / 0.7937 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of Templates: time 0.005459/0.2727, allocations: 2.507 MB / 0.7961 GB, free: 244 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)