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.00101/0.00101, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.00652/0.00652, allocations: 171.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001703/0.001703, allocations: 274.6 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9267/0.9267, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004016, allocations: 13.02 kB / 0.5987 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1481, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03839/0.1865, allocations: 40.84 MB / 0.725 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01174/0.1983, allocations: 8.875 MB / 0.7337 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.1995, allocations: 35.75 kB / 0.7337 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.201, allocations: 489.4 kB / 0.7342 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003083/0.2041, allocations: 1.163 MB / 0.7353 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.2067, allocations: 1.047 MB / 0.7363 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003536/0.2102, allocations: 3.355 MB / 0.7396 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000979/0.2112, allocations: 0.7378 MB / 0.7403 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.2126, allocations: 0.832 MB / 0.7412 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007669/0.2134, allocations: 0.6998 MB / 0.7418 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.362e-05/0.2135, allocations: 36 kB / 0.7419 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.2154, allocations: 1.056 MB / 0.7429 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.2156, allocations: 247 kB / 0.7431 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005073/0.2162, allocations: 0.569 MB / 0.7437 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002281/0.2184, allocations: 2.227 MB / 0.7459 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2185, allocations: 4 kB / 0.7459 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2185, allocations: 0 / 0.7459 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.2185, allocations: 0 / 0.7459 GB, free: 0.6602 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.002298/0.2208, allocations: 1.515 MB / 0.7474 GB, free: 15.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.2208, allocations: 8.031 kB / 0.7474 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.2211, allocations: 131.4 kB / 0.7475 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.2227, allocations: 1.083 MB / 0.7485 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.488e-05/0.2227, allocations: 49.31 kB / 0.7486 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.2228, allocations: 68 kB / 0.7487 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.2242, allocations: 0.8136 MB / 0.7495 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.2242, allocations: 0 / 0.7495 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-05/0.2243, allocations: 28 kB / 0.7495 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.2243, allocations: 20 kB / 0.7495 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.2254, allocations: 0.618 MB / 0.7501 GB, free: 12.18 MB / 0.545 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.003899/0.2293, allocations: 3.22 MB / 0.7532 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007852/0.2301, allocations: 469.2 kB / 0.7537 GB, free: 8.324 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004653/0.2306, allocations: 308.7 kB / 0.754 GB, free: 8.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008285/0.2314, allocations: 0.787 MB / 0.7548 GB, free: 7.066 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.2315, allocations: 42.5 kB / 0.7548 GB, free: 7.016 MB / 0.545 GB Notification: Performance of pre-optimization done (n=38): time 2.374e-06/0.2315, allocations: 0 / 0.7548 GB, free: 7.016 MB / 0.545 GB Notification: Performance of matching and sorting (n=38): time 0.001622/0.2331, allocations: 1.013 MB / 0.7558 GB, free: 5.977 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/0.2332, allocations: 140.5 kB / 0.7559 GB, free: 5.809 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.2345, allocations: 1.075 MB / 0.757 GB, free: 4.715 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.643e-05/0.2346, allocations: 33.7 kB / 0.757 GB, free: 4.676 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003931/0.235, allocations: 476.5 kB / 0.7575 GB, free: 4.207 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.2351, allocations: 122.2 kB / 0.7576 GB, free: 4.086 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.17e-05/0.2352, allocations: 57.69 kB / 0.7576 GB, free: 4.023 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2354, allocations: 326 kB / 0.7579 GB, free: 3.699 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005249/0.2359, allocations: 344.8 kB / 0.7583 GB, free: 3.363 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006038/0.2365, allocations: 466.6 kB / 0.7587 GB, free: 2.879 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.2377, allocations: 0.9912 MB / 0.7597 GB, free: 1.809 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2377, allocations: 0 / 0.7597 GB, free: 1.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00151/0.2392, allocations: 1.115 MB / 0.7608 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001727/0.2394, allocations: 319.3 kB / 0.7611 GB, free: 276 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.2394, allocations: 4 kB / 0.7611 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.2394, allocations: 4 kB / 0.7611 GB, free: 268 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.2398, allocations: 99.81 kB / 0.7612 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.2398, allocations: 4 kB / 0.7612 GB, free: 164 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006208/0.2404, allocations: 103.3 kB / 0.7613 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.772e-05/0.2405, allocations: 27.94 kB / 0.7613 GB, free: 32 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/0.2405, allocations: 4 kB / 0.7613 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001453/0.242, allocations: 1.109 MB / 0.7624 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.242, allocations: 4 kB / 0.7624 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/0.242, allocations: 4.219 kB / 0.7624 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.2423, allocations: 91.89 kB / 0.7625 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2424, allocations: 7.938 kB / 0.7625 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005692/0.2429, allocations: 103.3 kB / 0.7626 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/0.243, allocations: 27.98 kB / 0.7626 GB, free: 14.65 MB / 0.5606 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.0005224/0.2435, allocations: 471.4 kB / 0.7631 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.2437, allocations: 102.7 kB / 0.7632 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.2451, allocations: 0.9313 MB / 0.7641 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.2451, allocations: 4 kB / 0.7641 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2451, allocations: 3.984 kB / 0.7641 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001131/0.2463, allocations: 0.9869 MB / 0.7651 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/0.2493, allocations: 2.13 MB / 0.7671 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.2493, allocations: 4 kB / 0.7671 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.2496, allocations: 72.17 kB / 0.7672 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.2496, allocations: 4 kB / 0.7672 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.2497, allocations: 19.94 kB / 0.7672 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.2497, allocations: 7.938 kB / 0.7672 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2497, allocations: 0 / 0.7672 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.2516, allocations: 1.412 MB / 0.7686 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004066/0.252, allocations: 295.6 kB / 0.7689 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.2521, allocations: 12 kB / 0.7689 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005351/0.2527, allocations: 62.06 kB / 0.769 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.2528, allocations: 51.92 kB / 0.769 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.754e-05/0.2529, allocations: 35.81 kB / 0.769 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001051/0.2539, allocations: 0.7767 MB / 0.7698 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2539, allocations: 0 / 0.7698 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001321/0.2553, allocations: 0.5148 MB / 0.7703 GB, free: 6.434 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 (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.0007999/0.2561, allocations: 390.5 kB / 0.7707 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002307/0.2584, allocations: 1.969 MB / 0.7726 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2584, allocations: 0 / 0.7726 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006758/0.2591, allocations: 0.5431 MB / 0.7731 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/0.2618, allocations: 0.5273 MB / 0.7737 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002917/0.2647, allocations: 2.279 MB / 0.7759 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2629/0.5276, allocations: 1.062 MB / 0.7769 GB, free: 91.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009758/0.5287, allocations: 208.7 kB / 0.7771 GB, free: 91.44 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.5289, allocations: 77.33 kB / 0.7772 GB, free: 91.43 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.5289, allocations: 0 / 0.7772 GB, free: 91.43 MB / 0.5606 GB Notification: Performance of Templates: time 0.03564/0.5645, allocations: 23.61 MB / 0.8002 GB, free: 84.09 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)