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.00117/0.00117, allocations: 101.8 kB / 16.27 MB, free: 5.969 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.001085/0.001085, allocations: 194.7 kB / 17.2 MB, free: 5.594 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.409/1.409, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.803/1.803, allocations: 292.3 MB / 0.5495 GB, free: 17.6 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.001378/0.001378, allocations: 66.88 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2128, allocations: 114.6 MB / 0.784 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003048/0.2159, allocations: 1.64 MB / 0.7856 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001953/0.2179, allocations: 1.414 MB / 0.787 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.545e-05/0.218, allocations: 7.938 kB / 0.787 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.2184, allocations: 47.77 kB / 0.7871 GB, free: 0.7148 MB / 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.0001912/0.2186, allocations: 47.77 kB / 0.7871 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.2188, allocations: 88.94 kB / 0.7872 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.2191, allocations: 159.6 kB / 0.7874 GB, free: 436 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.2191, allocations: 12.22 kB / 0.7874 GB, free: 424 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.716e-05/0.2192, allocations: 67.77 kB / 0.7874 GB, free: 356 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.2194, allocations: 63.8 kB / 0.7875 GB, free: 292 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.2194, allocations: 12 kB / 0.7875 GB, free: 280 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.2196, allocations: 59.98 kB / 0.7876 GB, free: 220 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.672e-05/0.2197, allocations: 51.77 kB / 0.7876 GB, free: 168 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.026e-05/0.2198, allocations: 59.66 kB / 0.7877 GB, free: 108 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4108/0.6306, allocations: 185.9 kB / 0.7878 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.6306, allocations: 1.188 kB / 0.7878 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.574e-06/0.6307, allocations: 0 / 0.7878 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.6307, allocations: 0 / 0.7878 GB, free: 46.29 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.0006814/0.6314, allocations: 467.7 kB / 0.7883 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.6314, allocations: 13.94 kB / 0.7883 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.371e-05/0.6315, allocations: 20.55 kB / 0.7883 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.6318, allocations: 263.6 kB / 0.7886 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.6318, allocations: 5.828 kB / 0.7886 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.6318, allocations: 6.609 kB / 0.7886 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.6321, allocations: 117.5 kB / 0.7887 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.6321, allocations: 0 / 0.7887 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.6321, allocations: 9.062 kB / 0.7887 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.6321, allocations: 0 / 0.7887 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.6323, allocations: 139.7 kB / 0.7888 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.6325, allocations: 230.9 kB / 0.7891 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.6329, allocations: 175.3 kB / 0.7892 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.414e-05/0.633, allocations: 52.09 kB / 0.7893 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.633, allocations: 14.06 kB / 0.7893 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002836/0.6333, allocations: 110.6 kB / 0.7894 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.6333, allocations: 2.844 kB / 0.7894 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0004431/0.6338, allocations: 224 kB / 0.7896 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.6338, allocations: 83.16 kB / 0.7897 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.634, allocations: 204.1 kB / 0.7899 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.634, allocations: 28.33 kB / 0.7899 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.6341, allocations: 113.4 kB / 0.79 GB, free: 45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.6341, allocations: 49.38 kB / 0.7901 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.6342, allocations: 35.19 kB / 0.7901 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.859e-05/0.6342, allocations: 325.1 kB / 0.7904 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-05/0.6343, allocations: 48.2 kB / 0.7905 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.811e-05/0.6344, allocations: 79.52 kB / 0.7905 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.6346, allocations: 121.2 kB / 0.7907 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6346, allocations: 0 / 0.7907 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002922/0.6349, allocations: 194.2 kB / 0.7908 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.635, allocations: 5.25 kB / 0.7908 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.635, allocations: 2.297 kB / 0.7908 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.635, allocations: 3.219 kB / 0.7908 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.6351, allocations: 26.14 kB / 0.7909 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.6351, allocations: 1.688 kB / 0.7909 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.6352, allocations: 7.875 kB / 0.7909 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.6352, allocations: 9.656 kB / 0.7909 GB, free: 44.55 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 9.717e-05/0.6353, allocations: 137.3 kB / 0.791 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.6354, allocations: 26.75 kB / 0.791 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.394e-05/0.6354, allocations: 25.88 kB / 0.7911 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.6354, allocations: 2.594 kB / 0.7911 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.6354, allocations: 2.625 kB / 0.7911 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.6354, allocations: 0 / 0.7911 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.6356, allocations: 235 kB / 0.7913 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6356, allocations: 4.438 kB / 0.7913 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.437e-05/0.6357, allocations: 19.78 kB / 0.7913 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6357, allocations: 5.844 kB / 0.7913 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.6357, allocations: 4.031 kB / 0.7913 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.6357, allocations: 1.312 kB / 0.7913 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6357, allocations: 4.734 kB / 0.7913 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.636, allocations: 209.4 kB / 0.7915 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.636, allocations: 98.05 kB / 0.7916 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.6361, allocations: 5.109 kB / 0.7916 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.284e-05/0.6361, allocations: 4.375 kB / 0.7916 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.6362, allocations: 17.91 kB / 0.7917 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.6362, allocations: 7.469 kB / 0.7917 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001012/0.6363, allocations: 151.8 kB / 0.7918 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6363, allocations: 0.6875 kB / 0.7918 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002406/0.6365, allocations: 33.89 kB / 0.7918 GB, free: 43.97 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.001031/0.6376, allocations: 455.7 kB / 0.7923 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002798/0.6379, allocations: 131.9 kB / 0.7924 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6379, allocations: 0 / 0.7924 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.638, allocations: 69.73 kB / 0.7925 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.6383, allocations: 51.33 kB / 0.7925 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004929/0.6388, allocations: 319.3 kB / 0.7928 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.6389, allocations: 0.7196 MB / 0.7935 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.639, allocations: 28.5 kB / 0.7936 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of SimCode: time 8.61e-07/0.639, allocations: 0 / 0.7936 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of Templates: time 0.004447/0.6435, allocations: 2.805 MB / 0.7963 GB, free: 42.8 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)