Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.043/2.043, allocations: 251.1 MB / 266.7 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001313/0.001313, allocations: 179.4 kB / 326.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.324/2.324, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009175/0.0009173, allocations: 90.3 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004578/0.000458, allocations: 13.77 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1852, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02205/0.2073, allocations: 19.13 MB / 0.9182 GB, free: 46.35 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008538/0.2159, allocations: 4.986 MB / 0.923 GB, free: 41.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000711/0.2166, allocations: 19.81 kB / 0.9231 GB, free: 41.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009562/0.2176, allocations: 258.4 kB / 0.9233 GB, free: 41.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002447/0.22, allocations: 0.7579 MB / 0.9241 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002824/0.2229, allocations: 0.738 MB / 0.9248 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0025/0.2254, allocations: 1.949 MB / 0.9267 GB, free: 37.63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006874/0.2261, allocations: 403.1 kB / 0.9271 GB, free: 37.22 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.2272, allocations: 0.5757 MB / 0.9276 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007106/0.2279, allocations: 470 kB / 0.9281 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.709e-05/0.228, allocations: 24 kB / 0.9281 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002302/0.2303, allocations: 0.9551 MB / 0.929 GB, free: 35.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.2305, allocations: 119.5 kB / 0.9291 GB, free: 35.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.2307, allocations: 133.4 kB / 0.9293 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.232, allocations: 0.8227 MB / 0.9301 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.232, allocations: 0 / 0.9301 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2321, allocations: 0 / 0.9301 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.2321, allocations: 0 / 0.9301 GB, free: 34.12 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001771/0.2339, allocations: 0.9287 MB / 0.931 GB, free: 33.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2339, allocations: 8.031 kB / 0.931 GB, free: 33.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/0.2353, allocations: 196 kB / 0.9312 GB, free: 32.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.2367, allocations: 0.5382 MB / 0.9317 GB, free: 32.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005776/0.2373, allocations: 100.9 kB / 0.9318 GB, free: 32.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.621e-05/0.2374, allocations: 39.98 kB / 0.9318 GB, free: 32.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.2388, allocations: 0.4921 MB / 0.9323 GB, free: 31.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.2388, allocations: 0 / 0.9323 GB, free: 31.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.246e-05/0.2389, allocations: 16 kB / 0.9323 GB, free: 31.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.239, allocations: 12 kB / 0.9323 GB, free: 31.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.2406, allocations: 438.5 kB / 0.9328 GB, free: 31.25 MB / 0.6042 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.003656/0.2443, allocations: 2.289 MB / 0.935 GB, free: 28.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.246, allocations: 395 kB / 0.9354 GB, free: 28.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008202/0.2468, allocations: 237 kB / 0.9356 GB, free: 28.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00027/0.2471, allocations: 336.7 kB / 0.9359 GB, free: 27.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009401/0.2481, allocations: 318.1 kB / 0.9362 GB, free: 27.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 3.416e-06/0.2481, allocations: 0 / 0.9362 GB, free: 27.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.003453/0.2516, allocations: 0.8734 MB / 0.9371 GB, free: 26.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.2516, allocations: 93.11 kB / 0.9372 GB, free: 26.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006616/0.2523, allocations: 490.9 kB / 0.9376 GB, free: 25.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.138e-05/0.2523, allocations: 33.7 kB / 0.9377 GB, free: 25.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.2526, allocations: 272.4 kB / 0.9379 GB, free: 25.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.2527, allocations: 110.4 kB / 0.938 GB, free: 25.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.2527, allocations: 8 kB / 0.938 GB, free: 25.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.991e-05/0.2528, allocations: 362.8 kB / 0.9384 GB, free: 25.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007474/0.2536, allocations: 179.9 kB / 0.9386 GB, free: 24.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008139/0.2544, allocations: 269.2 kB / 0.9388 GB, free: 24.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007851/0.2552, allocations: 225.5 kB / 0.939 GB, free: 24.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2552, allocations: 0 / 0.939 GB, free: 24.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002178/0.2574, allocations: 0.6279 MB / 0.9396 GB, free: 23.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.879e-05/0.2575, allocations: 175.8 kB / 0.9398 GB, free: 23.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2575, allocations: 0 / 0.9398 GB, free: 23.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004741/0.258, allocations: 80.81 kB / 0.9399 GB, free: 23.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006454/0.2587, allocations: 79.88 kB / 0.94 GB, free: 23.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004627/0.2591, allocations: 0.5992 MB / 0.9405 GB, free: 22.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008875/0.26, allocations: 75.69 kB / 0.9406 GB, free: 22.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-05/0.2601, allocations: 16 kB / 0.9406 GB, free: 22.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.747e-06/0.2601, allocations: 5.562 kB / 0.9406 GB, free: 22.67 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001935/0.2621, allocations: 0.5527 MB / 0.9412 GB, free: 22.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2621, allocations: 4 kB / 0.9412 GB, free: 22.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/0.2623, allocations: 56.92 kB / 0.9412 GB, free: 22.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006255/0.263, allocations: 79.88 kB / 0.9413 GB, free: 21.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.2646, allocations: 1.638 MB / 0.9429 GB, free: 20.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008495/0.2654, allocations: 79.7 kB / 0.943 GB, free: 20.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/0.2655, allocations: 15.98 kB / 0.943 GB, free: 20.09 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003536/0.2659, allocations: 299 kB / 0.9433 GB, free: 19.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.266, allocations: 55.34 kB / 0.9433 GB, free: 19.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/0.2682, allocations: 0.6652 MB / 0.944 GB, free: 19.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001912/0.2701, allocations: 0.8324 MB / 0.9448 GB, free: 18.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.2701, allocations: 0 / 0.9448 GB, free: 18.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000288/0.2704, allocations: 180.2 kB / 0.945 GB, free: 17.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.2705, allocations: 8 kB / 0.945 GB, free: 17.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009/0.2714, allocations: 63.88 kB / 0.945 GB, free: 17.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.324e-05/0.2715, allocations: 31.95 kB / 0.9451 GB, free: 17.83 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00249/0.274, allocations: 0.7715 MB / 0.9458 GB, free: 17.03 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002744/0.2768, allocations: 1.006 MB / 0.9468 GB, free: 16 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00081/0.2776, allocations: 249.3 kB / 0.947 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004742/0.2781, allocations: 342.8 kB / 0.9474 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of Backend: time 5.61e-07/0.2781, allocations: 4 kB / 0.9474 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003805/0.2819, allocations: 1.171 MB / 0.9485 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002821/0.2848, allocations: 1.827 MB / 0.9503 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of Templates: time 0.02978/0.3146, allocations: 12.75 MB / 0.9628 GB, free: 15.66 MB / 0.6198 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)