Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8636/0.8636, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 172.9 kB / 182.2 MB, free: 9.461 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 84.12 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00181/0.00181, allocations: 275.4 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.514e-05/1.516e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4432/0.4432, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.824/6.267, allocations: 2.163 GB / 2.92 GB, free: 120.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/6.268, allocations: 112 kB / 2.92 GB, free: 120.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 18.93/25.19, allocations: 4.485 GB / 7.405 GB, free: 48.86 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.675e-06/25.19, allocations: 3.781 kB / 7.405 GB, free: 48.86 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001672/25.2, allocations: 194.5 kB / 7.405 GB, free: 48.84 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1118 * Number of variables: 1118 Notification: Performance of Generate backend data structure: time 0.02668/25.22, allocations: 8.02 MB / 7.413 GB, free: 44.57 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/25.22, allocations: 9.719 kB / 7.413 GB, free: 44.57 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008976/25.23, allocations: 1.493 MB / 7.415 GB, free: 44.08 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03351/25.26, allocations: 9.748 MB / 7.424 GB, free: 42.82 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004685/25.27, allocations: 148.4 kB / 7.424 GB, free: 42.82 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002616/25.27, allocations: 291.6 kB / 7.425 GB, free: 42.82 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01192/25.28, allocations: 4.093 MB / 7.429 GB, free: 42.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0148/25.29, allocations: 4.931 MB / 7.433 GB, free: 42.25 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001868/25.29, allocations: 6.469 kB / 7.433 GB, free: 42.25 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001239/25.3, allocations: 10.81 kB / 7.433 GB, free: 42.25 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001671/25.3, allocations: 167.5 kB / 7.434 GB, free: 42.23 MB / 0.9011 GB Warning: The model contains alias variables with conflicting start and/or 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.04932/25.35, allocations: 24.31 MB / 7.457 GB, free: 33.12 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005266/25.35, allocations: 2.924 MB / 7.46 GB, free: 32.97 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002927/25.35, allocations: 1.813 MB / 7.462 GB, free: 32.96 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01855/25.37, allocations: 8.152 MB / 7.47 GB, free: 29.52 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.797e-05/25.37, allocations: 60.69 kB / 7.47 GB, free: 29.48 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004706/25.38, allocations: 313.7 kB / 7.47 GB, free: 29.36 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=213): time 1.353e-05/25.38, allocations: 2.406 kB / 7.47 GB, free: 29.36 MB / 0.9011 GB Notification: Performance of matching and sorting (n=213): time 0.01261/25.39, allocations: 4.11 MB / 7.474 GB, free: 28.92 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001792/25.39, allocations: 421.5 kB / 7.475 GB, free: 28.48 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01687/25.41, allocations: 6.341 MB / 7.481 GB, free: 28.02 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000926/25.41, allocations: 41.86 kB / 7.481 GB, free: 27.98 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.004398/25.41, allocations: 3.723 MB / 7.485 GB, free: 26.99 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001355/25.41, allocations: 0.6866 MB / 7.485 GB, free: 26.54 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000663/25.41, allocations: 9 kB / 7.485 GB, free: 26.54 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003216/25.41, allocations: 437 kB / 7.486 GB, free: 26.23 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003318/25.42, allocations: 2.071 MB / 7.488 GB, free: 26.22 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004067/25.42, allocations: 3.384 MB / 7.491 GB, free: 24.71 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006202/25.43, allocations: 2.579 MB / 7.493 GB, free: 24.67 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.961e-05/25.43, allocations: 10.81 kB / 7.493 GB, free: 24.67 MB / 0.9011 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.01536/25.44, allocations: 6.016 MB / 7.499 GB, free: 24.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.003599/25.45, allocations: 16.36 MB / 7.515 GB, free: 23.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.407e-05/25.45, allocations: 31.73 kB / 7.515 GB, free: 23.08 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.37e-05/25.45, allocations: 50.8 kB / 7.515 GB, free: 23.08 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003295/25.45, allocations: 0.6771 MB / 7.516 GB, free: 23.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.538e-05/25.45, allocations: 62.86 kB / 7.516 GB, free: 23.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00727/25.46, allocations: 392.3 kB / 7.516 GB, free: 23.05 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001189/25.46, allocations: 217.6 kB / 7.517 GB, free: 23.05 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/25.46, allocations: 5.188 kB / 7.517 GB, free: 23.05 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01205/25.47, allocations: 5.659 MB / 7.522 GB, free: 22.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/25.47, allocations: 31.09 kB / 7.522 GB, free: 22.97 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.198e-05/25.47, allocations: 50.62 kB / 7.522 GB, free: 22.97 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00285/25.47, allocations: 0.668 MB / 7.523 GB, free: 22.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.45e-05/25.47, allocations: 59.69 kB / 7.523 GB, free: 22.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00695/25.48, allocations: 380.4 kB / 7.523 GB, free: 22.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/25.48, allocations: 211.8 kB / 7.524 GB, free: 22.95 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 12 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (366): * Single equations (assignments): 338 * Array equations: 4 * Algorithm blocks: 24 * 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.002093/25.48, allocations: 0.5996 MB / 7.524 GB, free: 22.44 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00324/25.49, allocations: 0.6741 MB / 7.525 GB, free: 22.07 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/25.5, allocations: 4.52 MB / 7.529 GB, free: 21.65 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.459e-05/25.5, allocations: 27.73 kB / 7.529 GB, free: 21.65 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.172e-05/25.5, allocations: 0 / 7.529 GB, free: 21.65 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005928/25.51, allocations: 3.633 MB / 7.533 GB, free: 20.16 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.02654/25.53, allocations: 10.41 MB / 7.543 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/25.53, allocations: 7.25 kB / 7.543 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002118/25.53, allocations: 431.9 kB / 7.543 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.884e-05/25.53, allocations: 10.97 kB / 7.543 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003411/25.53, allocations: 57 kB / 7.543 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.989e-05/25.53, allocations: 17.62 kB / 7.543 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/25.53, allocations: 5.75 kB / 7.543 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01392/25.55, allocations: 7.968 MB / 7.551 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005909/25.55, allocations: 1.382 MB / 7.553 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00354/25.56, allocations: 30.53 kB / 7.553 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006685/25.57, allocations: 314.8 kB / 7.553 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009879/25.57, allocations: 291.5 kB / 7.553 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007334/25.57, allocations: 120.1 kB / 7.553 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01435/25.58, allocations: 4.769 MB / 7.558 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.22e-07/25.58, allocations: 0 / 7.558 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02254/25.6, allocations: 3.8 MB / 7.562 GB, free: 7.527 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 4 (beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U,beaCooHea10.conCoo.hex.vol.dynBal.U,beaCooHea10.conHea.hex.vol.dynBal.U) * Number of discrete variables: 12 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i) * Number of discrete states: 12 (beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 12 * 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.01367/25.62, allocations: 7.074 MB / 7.569 GB, free: 1.496 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01862/25.64, allocations: 11.12 MB / 7.579 GB, free: 6.543 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/25.64, allocations: 0 / 7.579 GB, free: 6.543 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.005435/25.64, allocations: 3.535 MB / 7.583 GB, free: 3.109 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01962/25.66, allocations: 3.328 MB / 7.586 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9067/26.57, allocations: 11.26 MB / 7.597 GB, free: 82.18 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005164/26.57, allocations: 4.152 MB / 7.601 GB, free: 81.32 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01313/26.59, allocations: 2.52 MB / 7.604 GB, free: 81.26 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/26.59, allocations: 361.5 kB / 7.604 GB, free: 81.26 MB / 0.9323 GB Notification: Performance of SimCode: time 1.282e-06/26.59, allocations: 0 / 7.604 GB, free: 81.26 MB / 0.9323 GB Notification: Performance of Templates: time 0.266/26.85, allocations: 154.7 MB / 7.755 GB, free: 69.39 MB / 0.9323 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe 2>&1)