Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00602/0.00602, allocations: 170.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7963/0.7963, allocations: 135.2 MB / 151 MB, free: 13.85 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.000921/0.0009211, allocations: 101.3 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003405, allocations: 8 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4557/0.456, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.198/5.654, allocations: 2.165 GB / 2.815 GB, free: 22.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/5.654, allocations: 106.2 kB / 2.815 GB, free: 22.78 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 15.62/21.27, allocations: 3.733 GB / 6.548 GB, free: 48.48 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.238e-06/21.27, allocations: 0 / 6.548 GB, free: 48.48 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.00228/21.27, allocations: 192.1 kB / 6.548 GB, free: 48.45 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.03636/21.31, allocations: 9.786 MB / 6.558 GB, free: 43.32 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/21.31, allocations: 9.125 kB / 6.558 GB, free: 43.32 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003248/21.31, allocations: 0.5271 MB / 6.558 GB, free: 43.26 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/21.32, allocations: 1.854 MB / 6.56 GB, free: 42.73 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03213/21.36, allocations: 9.284 MB / 6.569 GB, free: 41.34 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001742/21.36, allocations: 0.5918 MB / 6.57 GB, free: 41.31 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002218/21.36, allocations: 437.2 kB / 6.57 GB, free: 41.31 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02016/21.38, allocations: 5.538 MB / 6.576 GB, free: 40.72 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002886/21.38, allocations: 4 kB / 6.576 GB, free: 40.71 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001992/21.38, allocations: 170.1 kB / 6.576 GB, free: 40.71 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/21.38, allocations: 97.41 kB / 6.576 GB, free: 40.71 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01338/21.4, allocations: 4.641 MB / 6.581 GB, free: 40.6 MB / 0.8698 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.04869/21.45, allocations: 24.63 MB / 6.605 GB, free: 25.95 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007168/21.45, allocations: 3.275 MB / 6.608 GB, free: 24.77 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01703/21.47, allocations: 8.013 MB / 6.616 GB, free: 18.93 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/21.47, allocations: 56.23 kB / 6.616 GB, free: 18.88 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004433/21.47, allocations: 407 kB / 6.616 GB, free: 18.67 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=190): time 1.268e-05/21.47, allocations: 0 / 6.616 GB, free: 18.67 MB / 0.8698 GB Notification: Performance of matching and sorting (n=190): time 0.02485/21.5, allocations: 9.534 MB / 6.625 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002032/21.5, allocations: 413 kB / 6.626 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0159/21.52, allocations: 7.139 MB / 6.633 GB, free: 7.715 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.00103/21.52, allocations: 81.7 kB / 6.633 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003911/21.52, allocations: 3.586 MB / 6.636 GB, free: 4.367 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001228/21.52, allocations: 0.6307 MB / 6.637 GB, free: 3.793 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/21.52, allocations: 52 kB / 6.637 GB, free: 3.742 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001943/21.52, allocations: 418.3 kB / 6.637 GB, free: 3.359 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003825/21.53, allocations: 2.332 MB / 6.64 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006442/21.53, allocations: 3.641 MB / 6.643 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005743/21.54, allocations: 3.209 MB / 6.646 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.692e-05/21.54, allocations: 8 kB / 6.646 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01793/21.56, allocations: 7.424 MB / 6.654 GB, free: 3.801 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.8136/22.37, allocations: 14.44 MB / 6.668 GB, free: 57.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.817e-05/22.37, allocations: 25.92 kB / 6.668 GB, free: 57.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002358/22.37, allocations: 0.6266 MB / 6.668 GB, free: 57.47 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003243/22.38, allocations: 0.5972 MB / 6.669 GB, free: 57.47 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003034/22.38, allocations: 2.797 MB / 6.672 GB, free: 55.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007645/22.39, allocations: 0.5038 MB / 6.672 GB, free: 55.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001159/22.39, allocations: 204.7 kB / 6.672 GB, free: 55.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/22.39, allocations: 4.562 kB / 6.672 GB, free: 55.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01461/22.4, allocations: 7.51 MB / 6.68 GB, free: 54.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/22.4, allocations: 28.03 kB / 6.68 GB, free: 54.58 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/22.4, allocations: 0.6238 MB / 6.68 GB, free: 54.55 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/22.41, allocations: 0.5882 MB / 6.681 GB, free: 54.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002495/22.41, allocations: 2.798 MB / 6.684 GB, free: 52.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007451/22.42, allocations: 0.4955 MB / 6.684 GB, free: 52.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001235/22.42, allocations: 197.2 kB / 6.684 GB, free: 52.48 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 267 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.005926/22.42, allocations: 2.193 MB / 6.686 GB, free: 51.91 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002455/22.43, allocations: 0.7109 MB / 6.687 GB, free: 51.91 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01674/22.44, allocations: 6.278 MB / 6.693 GB, free: 51.34 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.495e-05/22.44, allocations: 26.78 kB / 6.693 GB, free: 51.34 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/22.44, allocations: 0 / 6.693 GB, free: 51.34 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.211e-05/22.44, allocations: 12.09 kB / 6.693 GB, free: 51.34 MB / 0.8855 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 postOpt removeSimpleEquations (simulation): time 0.03288/22.48, allocations: 12.15 MB / 6.705 GB, free: 50.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.779e-05/22.48, allocations: 6.781 kB / 6.705 GB, free: 50.27 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00216/22.48, allocations: 395 kB / 6.706 GB, free: 50.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00186/22.48, allocations: 0.597 MB / 6.706 GB, free: 50.24 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000802/22.48, allocations: 73.08 kB / 6.706 GB, free: 50.24 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003054/22.48, allocations: 2.798 MB / 6.709 GB, free: 48.17 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/22.48, allocations: 7.188 kB / 6.709 GB, free: 48.17 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01648/22.5, allocations: 6.994 MB / 6.716 GB, free: 46.27 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00585/22.51, allocations: 1.415 MB / 6.717 GB, free: 45.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002738/22.51, allocations: 58.27 kB / 6.717 GB, free: 45.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006532/22.52, allocations: 456.5 kB / 6.718 GB, free: 45.78 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008197/22.52, allocations: 280.3 kB / 6.718 GB, free: 45.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003659/22.52, allocations: 105.8 kB / 6.718 GB, free: 45.77 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01391/22.53, allocations: 5.494 MB / 6.723 GB, free: 45.52 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.5e-07/22.53, allocations: 0.875 kB / 6.723 GB, free: 45.52 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.02166/22.55, allocations: 3.62 MB / 6.727 GB, free: 45.38 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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: 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 158 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.03004/22.58, allocations: 15.23 MB / 6.742 GB, free: 39.16 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0182/22.6, allocations: 11.78 MB / 6.753 GB, free: 36.11 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.414e-05/22.6, allocations: 5.906 kB / 6.753 GB, free: 36.11 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005889/22.61, allocations: 3.764 MB / 6.757 GB, free: 35.36 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01874/22.63, allocations: 3.475 MB / 6.76 GB, free: 35.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04761/22.67, allocations: 36.06 MB / 6.796 GB, free: 25.46 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007589/22.68, allocations: 3.986 MB / 6.799 GB, free: 24.56 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01031/22.69, allocations: 1.461 MB / 6.801 GB, free: 24.33 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007636/22.7, allocations: 3.24 MB / 6.804 GB, free: 24.32 MB / 0.9011 GB Notification: Performance of SimCode: time 1.202e-06/22.7, allocations: 0.9844 kB / 6.804 GB, free: 24.32 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.214/23.91, allocations: 268.2 MB / 7.066 GB, free: 127.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004498/23.91, allocations: 263 kB / 7.066 GB, free: 127.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/37.92, allocations: 0 / 7.066 GB, free: 127.5 MB / 0.948 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe 2>&1)