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.001341/0.001341, allocations: 105.8 kB / 16.37 MB, free: 6.477 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.001639/0.001639, allocations: 189.8 kB / 17.31 MB, free: 5.824 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.373/1.373, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.88/1.88, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001971/0.001971, allocations: 72.11 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2681, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00345/0.2716, allocations: 1.636 MB / 0.7864 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002102/0.2737, allocations: 1.418 MB / 0.7878 GB, free: 80 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.165e-05/0.2738, allocations: 0 / 0.7878 GB, free: 80 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004643/0.2744, allocations: 55.75 kB / 0.7878 GB, free: 24 kB / 0.6544 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.4023/0.6767, allocations: 49.91 kB / 0.7879 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.677, allocations: 75.12 kB / 0.788 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.6773, allocations: 172.8 kB / 0.7881 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.15e-05/0.6773, allocations: 2.984 kB / 0.7881 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.912e-05/0.6774, allocations: 64.33 kB / 0.7882 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.6776, allocations: 70.69 kB / 0.7883 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.6776, allocations: 9.156 kB / 0.7883 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.6778, allocations: 64.31 kB / 0.7883 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.349e-05/0.6779, allocations: 44.09 kB / 0.7884 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.926e-05/0.6779, allocations: 61.08 kB / 0.7884 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.6782, allocations: 197.2 kB / 0.7886 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.6782, allocations: 2.625 kB / 0.7886 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6782, allocations: 0 / 0.7886 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.6782, allocations: 0 / 0.7886 GB, free: 46.47 MB / 0.6544 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.000517/0.6787, allocations: 471.5 kB / 0.7891 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.6788, allocations: 11 kB / 0.7891 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.6788, allocations: 19.47 kB / 0.7891 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.6791, allocations: 259.3 kB / 0.7893 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.6792, allocations: 6.875 kB / 0.7894 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.6792, allocations: 6.25 kB / 0.7894 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.6794, allocations: 118 kB / 0.7895 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.6794, allocations: 0 / 0.7895 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.6795, allocations: 2.625 kB / 0.7895 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.6795, allocations: 0 / 0.7895 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.6797, allocations: 149.2 kB / 0.7896 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.6799, allocations: 229.5 kB / 0.7898 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.6802, allocations: 168.2 kB / 0.79 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.397e-05/0.6803, allocations: 51.83 kB / 0.79 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/0.6803, allocations: 19.3 kB / 0.7901 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.6805, allocations: 109.8 kB / 0.7902 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.6805, allocations: 0.7812 kB / 0.7902 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0004398/0.681, allocations: 232 kB / 0.7904 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.681, allocations: 78.83 kB / 0.7905 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.6812, allocations: 199.1 kB / 0.7907 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.6812, allocations: 32.33 kB / 0.7907 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.6813, allocations: 115.8 kB / 0.7908 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.6813, allocations: 46.31 kB / 0.7908 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.6814, allocations: 34 kB / 0.7909 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.173e-05/0.6814, allocations: 332.6 kB / 0.7912 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.261e-05/0.6815, allocations: 44.34 kB / 0.7912 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.167e-05/0.6816, allocations: 73.73 kB / 0.7913 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.6818, allocations: 125.9 kB / 0.7914 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.6818, allocations: 3.5 kB / 0.7914 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000263/0.6821, allocations: 190.9 kB / 0.7916 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.6821, allocations: 5.25 kB / 0.7916 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.6821, allocations: 1.125 kB / 0.7916 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.6821, allocations: 4.281 kB / 0.7916 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.6822, allocations: 27.69 kB / 0.7916 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.6823, allocations: 6.047 kB / 0.7917 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/0.6823, allocations: 10.38 kB / 0.7917 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.6823, allocations: 5.25 kB / 0.7917 GB, free: 44.71 MB / 0.6544 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 8.451e-05/0.6824, allocations: 137.4 kB / 0.7918 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.6824, allocations: 19.62 kB / 0.7918 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.232e-05/0.6825, allocations: 26.56 kB / 0.7918 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.6825, allocations: 2.625 kB / 0.7918 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6825, allocations: 0 / 0.7918 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.6825, allocations: 0 / 0.7918 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.6827, allocations: 241 kB / 0.7921 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.6827, allocations: 3.938 kB / 0.7921 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.6828, allocations: 29.27 kB / 0.7921 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6828, allocations: 0 / 0.7921 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.6828, allocations: 2.625 kB / 0.7921 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.6828, allocations: 2.625 kB / 0.7921 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.6828, allocations: 0.5938 kB / 0.7921 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.6831, allocations: 213.6 kB / 0.7923 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.6831, allocations: 96.05 kB / 0.7924 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.6832, allocations: 6.906 kB / 0.7924 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.395e-05/0.6832, allocations: 6.5 kB / 0.7924 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.6833, allocations: 13.06 kB / 0.7924 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.6833, allocations: 5.938 kB / 0.7924 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001043/0.6834, allocations: 150.3 kB / 0.7926 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6834, allocations: 1.562 kB / 0.7926 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002358/0.6836, allocations: 38.06 kB / 0.7926 GB, free: 44.13 MB / 0.6544 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.001016/0.6847, allocations: 455.4 kB / 0.7931 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002574/0.6849, allocations: 126.6 kB / 0.7932 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.685, allocations: 5.656 kB / 0.7932 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.697e-05/0.6851, allocations: 61.28 kB / 0.7932 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.6853, allocations: 43.12 kB / 0.7933 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.6858, allocations: 312 kB / 0.7936 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.686, allocations: 0.7222 MB / 0.7943 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.347e-05/0.686, allocations: 33.75 kB / 0.7943 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.686, allocations: 0 / 0.7943 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of Templates: time 0.004326/0.6904, allocations: 2.8 MB / 0.797 GB, free: 42.96 MB / 0.6544 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)