Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001199/0.001199, allocations: 106 kB / 16.37 MB, free: 6.008 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.001203/0.001203, allocations: 195.2 kB / 17.31 MB, free: 5.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.35/1.35, allocations: 205.1 MB / 223.2 MB, free: 12.14 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.764/1.764, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001417/0.001417, allocations: 67.91 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2225, allocations: 114.5 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.4572/0.6798, allocations: 72.61 MB / 0.8557 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03237/0.7122, allocations: 20.05 MB / 0.8753 GB, free: 2.832 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004624/0.7168, allocations: 100.8 kB / 0.8754 GB, free: 2.789 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003978/0.7209, allocations: 1.012 MB / 0.8764 GB, free: 2.195 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008321/0.7293, allocations: 2.339 MB / 0.8786 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006369/0.7357, allocations: 2.075 MB / 0.8807 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01147/0.7472, allocations: 8.006 MB / 0.8885 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008603/0.7558, allocations: 6.118 MB / 0.8945 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008328/0.7642, allocations: 3.267 MB / 0.8976 GB, free: 4.645 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005473/0.7697, allocations: 2.488 MB / 0.9001 GB, free: 3.156 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001163/0.7709, allocations: 255.6 kB / 0.9003 GB, free: 3.156 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004939/0.7758, allocations: 1.369 MB / 0.9017 GB, free: 2.559 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001677/0.7776, allocations: 0.753 MB / 0.9024 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00477/0.7823, allocations: 1.772 MB / 0.9041 GB, free: 196 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008833/0.7912, allocations: 4.735 MB / 0.9087 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.7913, allocations: 0 / 0.9087 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7913, allocations: 0 / 0.9087 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001369/0.7914, allocations: 0 / 0.9087 GB, free: 11.44 MB / 0.7012 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.00877/0.8002, allocations: 3.933 MB / 0.9126 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.8003, allocations: 8.031 kB / 0.9126 GB, free: 7.422 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002476/0.8027, allocations: 0.5384 MB / 0.9131 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005983/0.8087, allocations: 2.744 MB / 0.9158 GB, free: 4.07 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.8089, allocations: 135.8 kB / 0.9159 GB, free: 3.938 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003621/0.8093, allocations: 187.9 kB / 0.9161 GB, free: 3.754 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00403/0.8133, allocations: 2.322 MB / 0.9184 GB, free: 1.277 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.137e-05/0.8134, allocations: 7.938 kB / 0.9184 GB, free: 1.27 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/0.8136, allocations: 68 kB / 0.9185 GB, free: 1.203 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-05/0.8136, allocations: 40 kB / 0.9185 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003597/0.8172, allocations: 1.865 MB / 0.9203 GB, free: 15.29 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 preOpt removeSimpleEquations (simulation): time 0.01513/0.8324, allocations: 11.08 MB / 0.9311 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002757/0.8352, allocations: 1.34 MB / 0.9324 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/0.8368, allocations: 1.005 MB / 0.9334 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006506/0.8434, allocations: 3.643 MB / 0.937 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001488/0.8449, allocations: 0.7663 MB / 0.9377 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001244/0.8462, allocations: 234.9 kB / 0.9379 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 5.09e-06/0.8462, allocations: 0 / 0.9379 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.0121/0.8583, allocations: 4.162 MB / 0.942 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.8584, allocations: 64.34 kB / 0.9421 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004124/0.8625, allocations: 2.863 MB / 0.9449 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003147/0.8629, allocations: 53.7 kB / 0.9449 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001231/0.8641, allocations: 1.414 MB / 0.9463 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003769/0.8645, allocations: 343.1 kB / 0.9466 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005045/0.865, allocations: 351.6 kB / 0.947 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.8651, allocations: 309.1 kB / 0.9473 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.8664, allocations: 0.677 MB / 0.9479 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.8682, allocations: 1.44 MB / 0.9493 GB, free: 396 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002852/0.8711, allocations: 1.904 MB / 0.9512 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.8711, allocations: 4 kB / 0.9512 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006059/0.8772, allocations: 2.841 MB / 0.954 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.722e-05/0.8773, allocations: 39.61 kB / 0.954 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/0.8773, allocations: 16 kB / 0.954 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002346/0.8796, allocations: 0.6929 MB / 0.9547 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.8809, allocations: 305.2 kB / 0.955 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.8828, allocations: 1.897 MB / 0.9568 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/0.885, allocations: 109 kB / 0.9569 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/0.8853, allocations: 83.95 kB / 0.957 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002428/0.8877, allocations: 1.277 MB / 0.9583 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001682/0.8894, allocations: 1.384 MB / 0.9596 GB, free: 5.223 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002682/0.8921, allocations: 1.824 MB / 0.9614 GB, free: 3.18 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.556e-06/0.8922, allocations: 4 kB / 0.9614 GB, free: 3.176 MB / 0.7481 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004857/0.897, allocations: 2.681 MB / 0.964 GB, free: 464 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.569e-05/0.8971, allocations: 45.62 kB / 0.9641 GB, free: 412 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.8971, allocations: 16 kB / 0.9641 GB, free: 396 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008991/0.898, allocations: 473.9 kB / 0.9645 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.8991, allocations: 297 kB / 0.9648 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006789/0.9059, allocations: 6.331 MB / 0.971 GB, free: 9.012 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/0.9081, allocations: 110 kB / 0.9711 GB, free: 8.906 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002293/0.9083, allocations: 75.97 kB / 0.9712 GB, free: 8.832 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (135): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004859/0.9088, allocations: 288.5 kB / 0.9715 GB, free: 8.547 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005838/0.9094, allocations: 296.2 kB / 0.9717 GB, free: 8.254 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004688/0.9141, allocations: 2.417 MB / 0.9741 GB, free: 5.832 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/0.9141, allocations: 17.11 kB / 0.9741 GB, free: 5.816 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.9141, allocations: 0 / 0.9741 GB, free: 5.816 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003291/0.9174, allocations: 2.063 MB / 0.9761 GB, free: 3.676 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007775/0.9252, allocations: 4.387 MB / 0.9804 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.9253, allocations: 0 / 0.9804 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008174/0.9261, allocations: 161.6 kB / 0.9806 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.9271, allocations: 481.3 kB / 0.981 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.182e-05/0.9272, allocations: 31.98 kB / 0.9811 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.9289, allocations: 1.857 MB / 0.9829 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9289, allocations: 0 / 0.9829 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005476/0.9344, allocations: 3.115 MB / 0.9859 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/0.9356, allocations: 477.2 kB / 0.9864 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000455/0.936, allocations: 24 kB / 0.9864 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.9372, allocations: 71.8 kB / 0.9865 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.9374, allocations: 84.81 kB / 0.9865 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.9375, allocations: 47.97 kB / 0.9866 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002848/0.9403, allocations: 1.951 MB / 0.9885 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9403, allocations: 0 / 0.9885 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003595/0.9439, allocations: 1.349 MB / 0.9898 GB, free: 5.492 MB / 0.7794 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 (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001104/0.9451, allocations: 472.8 kB / 0.9903 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005772/0.9508, allocations: 3.173 MB / 0.9934 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.9509, allocations: 4 kB / 0.9934 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00156/0.9524, allocations: 0.7919 MB / 0.9941 GB, free: 1.012 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005528/0.958, allocations: 1.258 MB / 0.9954 GB, free: 15.79 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008966/0.967, allocations: 5.188 MB / 1 GB, free: 10.56 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.9686, allocations: 2.042 MB / 1.002 GB, free: 8.492 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008105/0.9694, allocations: 219.3 kB / 1.003 GB, free: 8.277 MB / 0.795 GB Notification: Performance of SimCode: time 2.414e-06/0.9694, allocations: 4 kB / 1.003 GB, free: 8.273 MB / 0.795 GB Notification: Performance of Templates: time 0.09609/1.066, allocations: 74.98 MB / 1.076 GB, free: 13.67 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)