Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009863/0.0009863, allocations: 91.92 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.001183/0.001184, 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 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001726/0.001726, allocations: 262.6 kB / 291.3 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9439/0.9439, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004088, allocations: 15.34 kB / 0.598 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1403, allocations: 88.55 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03559/0.176, allocations: 38.65 MB / 0.7222 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01066/0.1867, allocations: 8.29 MB / 0.7303 GB, free: 404 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009047/0.1876, allocations: 31.81 kB / 0.7304 GB, free: 372 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.1887, allocations: 417.4 kB / 0.7308 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002281/0.191, allocations: 0.9909 MB / 0.7317 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.1933, allocations: 0.8425 MB / 0.7325 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002955/0.1962, allocations: 2.895 MB / 0.7354 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009072/0.1971, allocations: 0.6337 MB / 0.736 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.1984, allocations: 0.7932 MB / 0.7368 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007631/0.1992, allocations: 0.6571 MB / 0.7374 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.574e-05/0.1993, allocations: 39.94 kB / 0.7374 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.201, allocations: 0.8577 MB / 0.7383 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.2012, allocations: 247.1 kB / 0.7385 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000255/0.2015, allocations: 257.1 kB / 0.7388 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.2032, allocations: 1.746 MB / 0.7405 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2032, allocations: 0 / 0.7405 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2032, allocations: 0 / 0.7405 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.2032, allocations: 0 / 0.7405 GB, free: 5.969 MB / 0.5294 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.002134/0.2054, allocations: 1.522 MB / 0.742 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2054, allocations: 12.03 kB / 0.742 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002684/0.2057, allocations: 130.5 kB / 0.7421 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.2073, allocations: 1.027 MB / 0.7431 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/0.2073, allocations: 49.31 kB / 0.7431 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.2074, allocations: 75.89 kB / 0.7432 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.2088, allocations: 0.8019 MB / 0.744 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.2088, allocations: 4 kB / 0.744 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.588e-05/0.2089, allocations: 31.98 kB / 0.744 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/0.2089, allocations: 16 kB / 0.744 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.21, allocations: 0.618 MB / 0.7446 GB, free: 1.527 MB / 0.5294 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.003846/0.2139, allocations: 3.213 MB / 0.7478 GB, free: 14.15 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007855/0.2147, allocations: 468.6 kB / 0.7482 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004869/0.2152, allocations: 316.7 kB / 0.7485 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007645/0.2159, allocations: 0.7792 MB / 0.7493 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.216, allocations: 46.45 kB / 0.7493 GB, free: 12.37 MB / 0.545 GB Notification: Performance of pre-optimization done (n=38): time 3.697e-06/0.216, allocations: 7.984 kB / 0.7493 GB, free: 12.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=38): time 0.001629/0.2176, allocations: 1.009 MB / 0.7503 GB, free: 11.33 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.2177, allocations: 140.5 kB / 0.7505 GB, free: 11.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.2191, allocations: 1.067 MB / 0.7515 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.029e-05/0.2191, allocations: 37.7 kB / 0.7515 GB, free: 10.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003814/0.2195, allocations: 464.5 kB / 0.752 GB, free: 9.574 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.2197, allocations: 134.1 kB / 0.7521 GB, free: 9.441 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.2197, allocations: 8 kB / 0.7521 GB, free: 9.434 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2198, allocations: 326 kB / 0.7524 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005259/0.2203, allocations: 352.8 kB / 0.7528 GB, free: 8.766 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005914/0.2209, allocations: 458.6 kB / 0.7532 GB, free: 8.289 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006334/0.2216, allocations: 0.5391 MB / 0.7537 GB, free: 7.715 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2216, allocations: 0 / 0.7537 GB, free: 7.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001499/0.2231, allocations: 1.108 MB / 0.7548 GB, free: 6.562 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001701/0.2233, allocations: 320.9 kB / 0.7551 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2233, allocations: 4 kB / 0.7551 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.2233, allocations: 4 kB / 0.7551 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.2237, allocations: 99.83 kB / 0.7552 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.2237, allocations: 7.984 kB / 0.7552 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006161/0.2244, allocations: 103.2 kB / 0.7553 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/0.2244, allocations: 27.98 kB / 0.7554 GB, free: 5.945 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.913e-06/0.2244, allocations: 4 kB / 0.7554 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001475/0.2259, allocations: 1.105 MB / 0.7564 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.2259, allocations: 0 / 0.7564 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.741e-06/0.2259, allocations: 8 kB / 0.7564 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.2263, allocations: 88.11 kB / 0.7565 GB, free: 4.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2263, allocations: 8 kB / 0.7565 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005499/0.2269, allocations: 107.3 kB / 0.7566 GB, free: 4.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/0.2269, allocations: 23.98 kB / 0.7567 GB, free: 4.57 MB / 0.545 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.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005259/0.2275, allocations: 482.6 kB / 0.7571 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.2276, allocations: 98.78 kB / 0.7572 GB, free: 3.973 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.2291, allocations: 0.9222 MB / 0.7581 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.2291, allocations: 4 kB / 0.7581 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2291, allocations: 0 / 0.7581 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001122/0.2302, allocations: 0.9912 MB / 0.7591 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002983/0.2332, allocations: 2.134 MB / 0.7612 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.2332, allocations: 4 kB / 0.7612 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.2335, allocations: 67.91 kB / 0.7612 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.2335, allocations: 8.266 kB / 0.7613 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.2336, allocations: 16 kB / 0.7613 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.2336, allocations: 12 kB / 0.7613 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2336, allocations: 0 / 0.7613 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.2355, allocations: 1.416 MB / 0.7627 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.2359, allocations: 307.5 kB / 0.763 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.236, allocations: 16 kB / 0.763 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005171/0.2366, allocations: 55.52 kB / 0.763 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.2367, allocations: 43.94 kB / 0.7631 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/0.2367, allocations: 20 kB / 0.7631 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001052/0.2378, allocations: 0.765 MB / 0.7638 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2378, allocations: 0 / 0.7638 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001324/0.2391, allocations: 0.5148 MB / 0.7643 GB, free: 12.37 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007411/0.2399, allocations: 391.5 kB / 0.7647 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002259/0.2422, allocations: 1.951 MB / 0.7666 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2422, allocations: 0 / 0.7666 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006889/0.2429, allocations: 0.546 MB / 0.7671 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/0.2451, allocations: 0.5118 MB / 0.7676 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/0.2481, allocations: 2.283 MB / 0.7699 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000637/0.2488, allocations: 1.068 MB / 0.7709 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007402/0.2495, allocations: 209.5 kB / 0.7711 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.2497, allocations: 75.42 kB / 0.7712 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/0.2497, allocations: 0 / 0.7712 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.2845/0.5342, allocations: 22.44 MB / 0.7931 GB, free: 87.58 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)