Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009932/0.0009978, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001211/0.001212, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.586/1.586, allocations: 252 MB / 0.5102 GB, free: 4.832 MB / 414.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.0005421/0.0005422, allocations: 12 kB / 0.6243 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5223/0.5228, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.05831/0.5812, allocations: 66.84 MB / 0.7934 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02505/0.6063, allocations: 18.89 MB / 0.8118 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003156/0.6095, allocations: 83.38 kB / 0.8119 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002579/0.6121, allocations: 0.656 MB / 0.8126 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005339/0.6175, allocations: 1.926 MB / 0.8144 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004121/0.6216, allocations: 1.567 MB / 0.816 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008707/0.6303, allocations: 9.035 MB / 0.8248 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006826/0.6371, allocations: 5.31 MB / 0.83 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005082/0.6422, allocations: 2.68 MB / 0.8326 GB, free: 148 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003971/0.6462, allocations: 2.314 MB / 0.8349 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007454/0.647, allocations: 128 kB / 0.835 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00314/0.6501, allocations: 1.01 MB / 0.836 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.6512, allocations: 0.6027 MB / 0.8366 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.6525, allocations: 0.6522 MB / 0.8372 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004084/0.6566, allocations: 3.476 MB / 0.8406 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6566, allocations: 0 / 0.8406 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.664e-06/0.6566, allocations: 0 / 0.8406 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001518/0.6567, allocations: 0 / 0.8406 GB, free: 7.934 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.007265/0.664, allocations: 3.866 MB / 0.8444 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.6641, allocations: 8.031 kB / 0.8444 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00222/0.6663, allocations: 0.5657 MB / 0.8449 GB, free: 3.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004725/0.671, allocations: 2.458 MB / 0.8473 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.6712, allocations: 139.8 kB / 0.8475 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004108/0.6716, allocations: 195.9 kB / 0.8476 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004393/0.676, allocations: 2.405 MB / 0.85 GB, free: 14.02 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.12e-05/0.6761, allocations: 11.94 kB / 0.85 GB, free: 14.01 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001961/0.6763, allocations: 68 kB / 0.8501 GB, free: 13.94 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.239e-05/0.6763, allocations: 40 kB / 0.8501 GB, free: 13.9 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003712/0.6801, allocations: 2.021 MB / 0.8521 GB, free: 11.88 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01631/0.6964, allocations: 12.14 MB / 0.8639 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002984/0.6994, allocations: 1.55 MB / 0.8654 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.7011, allocations: 1.098 MB / 0.8665 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007131/0.7083, allocations: 4.083 MB / 0.8705 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001557/0.7099, allocations: 0.8833 MB / 0.8714 GB, free: 7.219 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001974/0.7119, allocations: 446.6 kB / 0.8718 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=96): time 7.324e-06/0.7119, allocations: 0 / 0.8718 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of matching and sorting (n=96): time 0.01442/0.7263, allocations: 5.202 MB / 0.8769 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.7264, allocations: 64.41 kB / 0.8769 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00467/0.7311, allocations: 2.995 MB / 0.8799 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002424/0.7313, allocations: 57.7 kB / 0.8799 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001312/0.7327, allocations: 1.424 MB / 0.8813 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004259/0.7331, allocations: 343.1 kB / 0.8816 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.7332, allocations: 24 kB / 0.8817 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.7334, allocations: 369.9 kB / 0.882 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.7349, allocations: 0.6909 MB / 0.8827 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00245/0.7373, allocations: 1.49 MB / 0.8841 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/0.7395, allocations: 0.8988 MB / 0.885 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.998e-05/0.7395, allocations: 7.938 kB / 0.885 GB, free: 8.789 MB / 0.7012 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.008225/0.7477, allocations: 2.956 MB / 0.8879 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007893/0.7486, allocations: 0.5318 MB / 0.8884 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.497e-05/0.7487, allocations: 16 kB / 0.8884 GB, free: 5.055 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003206/0.7519, allocations: 0.774 MB / 0.8892 GB, free: 4.273 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.7534, allocations: 309.2 kB / 0.8895 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003392/0.7568, allocations: 2.165 MB / 0.8916 GB, free: 1.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004316/0.7612, allocations: 252.7 kB / 0.8918 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003693/0.7616, allocations: 79.97 kB / 0.8919 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.7616, allocations: 4 kB / 0.8919 GB, free: 1.418 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004962/0.7666, allocations: 2.299 MB / 0.8942 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.942e-05/0.7667, allocations: 16.06 kB / 0.8942 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/0.7681, allocations: 0.5791 MB / 0.8948 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.7692, allocations: 297.2 kB / 0.895 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008178/0.7774, allocations: 6.5 MB / 0.9014 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/0.7802, allocations: 244.5 kB / 0.9016 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002772/0.7805, allocations: 67.98 kB / 0.9017 GB, free: 7.121 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001798/0.7824, allocations: 0.8249 MB / 0.9025 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000793/0.7832, allocations: 292.3 kB / 0.9028 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005067/0.7882, allocations: 2.48 MB / 0.9052 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.7883, allocations: 15.98 kB / 0.9052 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7883, allocations: 0 / 0.9052 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003518/0.7918, allocations: 2.201 MB / 0.9074 GB, free: 1.203 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5143/1.306, allocations: 4.691 MB / 0.9119 GB, free: 170.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.306, allocations: 2 kB / 0.9119 GB, free: 170.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008662/1.307, allocations: 150.9 kB / 0.9121 GB, free: 170.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/1.308, allocations: 0.5437 MB / 0.9126 GB, free: 169.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.994e-05/1.309, allocations: 30.78 kB / 0.9126 GB, free: 169.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002696/1.311, allocations: 2.092 MB / 0.9147 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.311, allocations: 1.062 kB / 0.9147 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008329/1.32, allocations: 3.345 MB / 0.918 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001997/1.322, allocations: 0.5586 MB / 0.9185 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004956/1.322, allocations: 16.75 kB / 0.9185 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001864/1.324, allocations: 200.4 kB / 0.9187 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/1.324, allocations: 66.31 kB / 0.9188 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/1.324, allocations: 38.22 kB / 0.9188 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003978/1.328, allocations: 2.044 MB / 0.9208 GB, free: 166.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.32e-07/1.328, allocations: 1.375 kB / 0.9208 GB, free: 166.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00622/1.335, allocations: 1.487 MB / 0.9223 GB, free: 166.2 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.001225/1.336, allocations: 441.9 kB / 0.9227 GB, free: 166.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005457/1.341, allocations: 3.245 MB / 0.9258 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.341, allocations: 0 / 0.9258 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001451/1.343, allocations: 0.827 MB / 0.9267 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007284/1.35, allocations: 1.554 MB / 0.9282 GB, free: 164.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008325/1.359, allocations: 5.938 MB / 0.934 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/1.36, allocations: 2.04 MB / 0.936 GB, free: 158.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002988/1.363, allocations: 0.6695 MB / 0.9366 GB, free: 158 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005293/1.363, allocations: 199.4 kB / 0.9368 GB, free: 157.9 MB / 0.7169 GB Notification: Performance of SimCode: time 1.643e-06/1.363, allocations: 4 kB / 0.9368 GB, free: 157.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.08343/1.447, allocations: 57.38 MB / 0.9928 GB, free: 101.2 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) Environment - environmentSimulation: