Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams,fileNamePrefix="IDEAS_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.007986/0.007986, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7332/0.7332, allocations: 135.2 MB / 151 MB, free: 13.84 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.624/1.624, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.0008956/0.0008956, allocations: 97.69 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003534, allocations: 8 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4897/0.49, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.138/5.628, allocations: 2.165 GB / 2.815 GB, free: 23.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/5.628, allocations: 108.3 kB / 2.815 GB, free: 23.88 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 14.64/20.27, allocations: 3.733 GB / 6.548 GB, free: 48.61 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.157e-06/20.27, allocations: 0 / 6.548 GB, free: 48.61 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.002119/20.27, allocations: 188.1 kB / 6.548 GB, free: 48.58 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.03616/20.31, allocations: 9.777 MB / 6.558 GB, free: 43.45 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/20.31, allocations: 10.44 kB / 6.558 GB, free: 43.45 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003155/20.31, allocations: 0.5306 MB / 6.558 GB, free: 43.39 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/20.32, allocations: 1.854 MB / 6.56 GB, free: 42.86 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03005/20.35, allocations: 9.277 MB / 6.569 GB, free: 41.48 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001626/20.36, allocations: 0.591 MB / 6.57 GB, free: 41.45 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002101/20.36, allocations: 435.5 kB / 6.57 GB, free: 41.45 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01479/20.37, allocations: 5.543 MB / 6.576 GB, free: 40.85 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.941e-05/20.37, allocations: 7.875 kB / 6.576 GB, free: 40.85 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005831/20.37, allocations: 169.8 kB / 6.576 GB, free: 40.85 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.324e-05/20.37, allocations: 99.03 kB / 6.576 GB, free: 40.85 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/20.38, allocations: 4.638 MB / 6.581 GB, free: 40.73 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.04798/20.43, allocations: 24.63 MB / 6.605 GB, free: 26.15 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006961/20.44, allocations: 3.277 MB / 6.608 GB, free: 24.96 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01587/20.46, allocations: 8.006 MB / 6.616 GB, free: 19.13 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/20.46, allocations: 62.36 kB / 6.616 GB, free: 19.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004453/20.46, allocations: 398.5 kB / 6.616 GB, free: 18.87 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=190): time 9.228e-06/20.46, allocations: 0 / 6.616 GB, free: 18.87 MB / 0.8698 GB Notification: Performance of matching and sorting (n=190): time 0.02513/20.49, allocations: 9.535 MB / 6.625 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001874/20.49, allocations: 421.7 kB / 6.626 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01478/20.5, allocations: 7.141 MB / 6.633 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001125/20.5, allocations: 81.7 kB / 6.633 GB, free: 7.996 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003281/20.5, allocations: 3.58 MB / 6.636 GB, free: 4.742 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001236/20.51, allocations: 0.6273 MB / 6.637 GB, free: 4.172 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/20.51, allocations: 60 kB / 6.637 GB, free: 4.113 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001955/20.51, allocations: 418.1 kB / 6.637 GB, free: 3.734 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003921/20.51, allocations: 2.337 MB / 6.64 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006665/20.52, allocations: 3.657 MB / 6.643 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005885/20.52, allocations: 3.216 MB / 6.646 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.853e-05/20.52, allocations: 4 kB / 6.646 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01818/20.54, allocations: 7.42 MB / 6.654 GB, free: 4.219 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.8373/21.38, allocations: 14.44 MB / 6.668 GB, free: 57.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001149/21.38, allocations: 25.47 kB / 6.668 GB, free: 57.86 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002597/21.38, allocations: 0.625 MB / 6.668 GB, free: 57.82 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003455/21.38, allocations: 0.6005 MB / 6.669 GB, free: 57.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003191/21.39, allocations: 2.799 MB / 6.672 GB, free: 55.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008746/21.4, allocations: 0.5052 MB / 6.672 GB, free: 55.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001493/21.4, allocations: 198.4 kB / 6.672 GB, free: 55.75 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/21.4, allocations: 3.688 kB / 6.672 GB, free: 55.75 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01678/21.42, allocations: 7.523 MB / 6.68 GB, free: 54.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001523/21.42, allocations: 23.72 kB / 6.68 GB, free: 54.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00188/21.42, allocations: 0.6248 MB / 6.68 GB, free: 54.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002789/21.42, allocations: 0.5889 MB / 6.681 GB, free: 54.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/21.42, allocations: 2.801 MB / 6.684 GB, free: 52.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007966/21.43, allocations: 0.4923 MB / 6.684 GB, free: 52.83 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001443/21.43, allocations: 193.9 kB / 6.684 GB, free: 52.83 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.007222/21.44, allocations: 2.193 MB / 6.686 GB, free: 52.26 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002983/21.44, allocations: 0.7122 MB / 6.687 GB, free: 52.26 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01685/21.46, allocations: 6.281 MB / 6.693 GB, free: 51.69 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.566e-05/21.46, allocations: 23.69 kB / 6.693 GB, free: 51.69 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/21.46, allocations: 0 / 6.693 GB, free: 51.69 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.136e-05/21.46, allocations: 12.34 kB / 6.693 GB, free: 51.69 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.03339/21.49, allocations: 12.14 MB / 6.705 GB, free: 50.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/21.49, allocations: 3.25 kB / 6.705 GB, free: 50.63 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001843/21.49, allocations: 399.3 kB / 6.706 GB, free: 50.63 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001666/21.5, allocations: 0.6032 MB / 6.706 GB, free: 50.59 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004624/21.5, allocations: 77.94 kB / 6.706 GB, free: 50.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0027/21.5, allocations: 2.791 MB / 6.709 GB, free: 48.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/21.5, allocations: 8.281 kB / 6.709 GB, free: 48.53 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/21.52, allocations: 6.991 MB / 6.716 GB, free: 46.63 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006327/21.52, allocations: 1.416 MB / 6.717 GB, free: 46.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002632/21.52, allocations: 57.5 kB / 6.717 GB, free: 46.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005908/21.53, allocations: 454.3 kB / 6.718 GB, free: 46.14 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006057/21.53, allocations: 278.1 kB / 6.718 GB, free: 46.13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003118/21.53, allocations: 112.4 kB / 6.718 GB, free: 46.13 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01223/21.54, allocations: 5.498 MB / 6.723 GB, free: 45.88 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.92e-07/21.54, allocations: 0 / 6.723 GB, free: 45.88 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.02115/21.56, allocations: 3.62 MB / 6.727 GB, free: 45.74 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.0286/21.59, allocations: 15.23 MB / 6.742 GB, free: 39.51 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01857/21.61, allocations: 11.78 MB / 6.753 GB, free: 36.46 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/21.61, allocations: 1.875 kB / 6.753 GB, free: 36.46 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.006093/21.62, allocations: 3.768 MB / 6.757 GB, free: 35.71 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01926/21.64, allocations: 3.481 MB / 6.76 GB, free: 35.64 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05034/21.69, allocations: 36.07 MB / 6.796 GB, free: 25.8 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008028/21.7, allocations: 3.986 MB / 6.8 GB, free: 24.9 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01511/21.71, allocations: 1.446 MB / 6.801 GB, free: 24.68 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008883/21.72, allocations: 3.245 MB / 6.804 GB, free: 24.66 MB / 0.9011 GB Notification: Performance of SimCode: time 1.232e-06/21.72, allocations: 2.5 kB / 6.804 GB, free: 24.66 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.185/22.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.000173/22.91, allocations: 260.3 kB / 7.066 GB, free: 127.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/35.85, allocations: 0 / 7.066 GB, free: 127.5 MB / 0.948 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe 2>&1)