Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 101.5 kB / 16.36 MB, free: 6.301 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.001179/0.001179, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.412/1.412, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.751/1.751, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001444/0.001444, allocations: 67.91 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2599, allocations: 114.6 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.5127/0.7727, allocations: 41.97 MB / 0.8258 GB, free: 22.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01346/0.7862, allocations: 8.821 MB / 0.8344 GB, free: 16.41 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002562/0.7888, allocations: 44.03 kB / 0.8344 GB, free: 16.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.7911, allocations: 0.5721 MB / 0.835 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004872/0.796, allocations: 1.261 MB / 0.8362 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004044/0.8, allocations: 1.194 MB / 0.8374 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004819/0.8048, allocations: 2.678 MB / 0.84 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.8066, allocations: 0.9201 MB / 0.8409 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003148/0.8097, allocations: 1.043 MB / 0.8419 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.8112, allocations: 0.7523 MB / 0.8427 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002275/0.8115, allocations: 120.7 kB / 0.8428 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003401/0.8149, allocations: 1.188 MB / 0.8439 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004177/0.8153, allocations: 329.5 kB / 0.8443 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000827/0.8162, allocations: 0.6485 MB / 0.8449 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004828/0.821, allocations: 2.344 MB / 0.8472 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.821, allocations: 5.094 kB / 0.8472 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.821, allocations: 0 / 0.8472 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.092e-05/0.8211, allocations: 0.75 kB / 0.8472 GB, free: 10.17 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003531/0.8246, allocations: 1.743 MB / 0.8489 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.8247, allocations: 9.812 kB / 0.8489 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003937/0.8251, allocations: 130.4 kB / 0.849 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/0.827, allocations: 1.078 MB / 0.8501 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.871e-05/0.8271, allocations: 53.25 kB / 0.8501 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.8272, allocations: 68.31 kB / 0.8502 GB, free: 8.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.8288, allocations: 0.8111 MB / 0.851 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.8288, allocations: 0 / 0.851 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-05/0.8289, allocations: 27.75 kB / 0.851 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/0.8289, allocations: 18.88 kB / 0.851 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.8301, allocations: 0.6093 MB / 0.8516 GB, free: 7.48 MB / 0.6544 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.004267/0.8344, allocations: 3.21 MB / 0.8548 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000843/0.8352, allocations: 465.7 kB / 0.8552 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00049/0.8357, allocations: 313.3 kB / 0.8555 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007007/0.8364, allocations: 0.7631 MB / 0.8562 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.8365, allocations: 42.84 kB / 0.8563 GB, free: 4.129 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=38): time 2.985e-06/0.8365, allocations: 0 / 0.8563 GB, free: 4.129 MB / 0.6544 GB Notification: Performance of matching and sorting (n=38): time 0.001782/0.8383, allocations: 0.9921 MB / 0.8572 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.8383, allocations: 140.8 kB / 0.8574 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.8399, allocations: 1.083 MB / 0.8584 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.84, allocations: 39.11 kB / 0.8585 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003344/0.8403, allocations: 473.8 kB / 0.8589 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.8405, allocations: 127.4 kB / 0.8591 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.8407, allocations: 113.4 kB / 0.8592 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.427e-05/0.8407, allocations: 331.8 kB / 0.8595 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.8413, allocations: 356.2 kB / 0.8598 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007042/0.842, allocations: 451.5 kB / 0.8602 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.8432, allocations: 0.9662 MB / 0.8612 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.8432, allocations: 1.062 kB / 0.8612 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001809/0.845, allocations: 1.104 MB / 0.8623 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.494e-05/0.8451, allocations: 181.3 kB / 0.8624 GB, free: 468 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.8452, allocations: 1.375 kB / 0.8624 GB, free: 468 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.335e-05/0.8452, allocations: 5.062 kB / 0.8624 GB, free: 468 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.8456, allocations: 96.98 kB / 0.8625 GB, free: 452 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.8456, allocations: 3.938 kB / 0.8625 GB, free: 452 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007843/0.8464, allocations: 84.12 kB / 0.8626 GB, free: 400 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.8465, allocations: 22.09 kB / 0.8626 GB, free: 396 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001051/0.8475, allocations: 0.5968 MB / 0.8632 GB, free: 32 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007698/0.8483, allocations: 447.8 kB / 0.8637 GB, free: 15.76 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001251/0.8496, allocations: 0.9761 MB / 0.8646 GB, free: 15.06 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.444e-06/0.8496, allocations: 3.938 kB / 0.8646 GB, free: 15.05 MB / 0.67 GB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001784/0.8514, allocations: 1.105 MB / 0.8657 GB, free: 14.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.8515, allocations: 181.4 kB / 0.8659 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.8515, allocations: 6.875 kB / 0.8659 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.8516, allocations: 3.312 kB / 0.8659 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.8519, allocations: 88.98 kB / 0.866 GB, free: 14.18 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.852, allocations: 11.7 kB / 0.866 GB, free: 14.17 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000742/0.8527, allocations: 57.81 kB / 0.866 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.46e-05/0.8528, allocations: 28.8 kB / 0.8661 GB, free: 14.13 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 6 * 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 0.0003381/0.8531, allocations: 302.2 kB / 0.8663 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.8533, allocations: 101.5 kB / 0.8664 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.8551, allocations: 0.9133 MB / 0.8673 GB, free: 13.23 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.8551, allocations: 5.375 kB / 0.8673 GB, free: 13.23 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.8551, allocations: 4 kB / 0.8673 GB, free: 13.23 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001262/0.8564, allocations: 0.9762 MB / 0.8683 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003597/0.86, allocations: 2.11 MB / 0.8704 GB, free: 10.91 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.86, allocations: 2.438 kB / 0.8704 GB, free: 10.91 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.8603, allocations: 72.39 kB / 0.8704 GB, free: 10.89 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.8603, allocations: 3.844 kB / 0.8704 GB, free: 10.89 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.381e-05/0.8604, allocations: 17.34 kB / 0.8704 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.8604, allocations: 8.5 kB / 0.8705 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.8604, allocations: 2.469 kB / 0.8705 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.8626, allocations: 1.402 MB / 0.8718 GB, free: 10 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000566/0.8632, allocations: 279.2 kB / 0.8721 GB, free: 9.754 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.8634, allocations: 20.31 kB / 0.8721 GB, free: 9.742 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/0.8639, allocations: 29 kB / 0.8721 GB, free: 9.73 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.864, allocations: 52.91 kB / 0.8722 GB, free: 9.703 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.395e-05/0.8641, allocations: 19.28 kB / 0.8722 GB, free: 9.699 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001346/0.8654, allocations: 0.7815 MB / 0.873 GB, free: 9.246 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8654, allocations: 1.156 kB / 0.873 GB, free: 9.246 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002155/0.8676, allocations: 0.5272 MB / 0.8735 GB, free: 9.137 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * When equations: 0 * 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.001325/0.8689, allocations: 410.6 kB / 0.8739 GB, free: 8.918 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002875/0.8718, allocations: 1.939 MB / 0.8758 GB, free: 7.551 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/0.8718, allocations: 1.656 kB / 0.8758 GB, free: 7.551 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008083/0.8726, allocations: 0.5471 MB / 0.8763 GB, free: 7.172 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/0.8756, allocations: 0.5408 MB / 0.8768 GB, free: 6.945 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/0.8796, allocations: 1.951 MB / 0.8787 GB, free: 5.695 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.8807, allocations: 1.07 MB / 0.8798 GB, free: 4.805 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/0.8811, allocations: 79.2 kB / 0.8799 GB, free: 4.789 MB / 0.67 GB Notification: Performance of SimCode: time 1.172e-06/0.8811, allocations: 0 / 0.8799 GB, free: 4.789 MB / 0.67 GB Notification: Performance of Templates: time 0.03751/0.9186, allocations: 19.51 MB / 0.8989 GB, free: 4.41 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)