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.001908/0.001908, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7748/0.7748, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.54/1.54, allocations: 221.3 MB / 400.4 MB, free: 5.852 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009054/0.000905, allocations: 93.94 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.155e-05/3.157e-05, allocations: 3.562 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1678, allocations: 82.3 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.798/5.965, allocations: 2.165 GB / 2.806 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003565/5.966, allocations: 104.9 kB / 2.806 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 15.23/21.2, allocations: 3.723 GB / 6.529 GB, free: 31.36 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.596e-06/21.2, allocations: 0 / 6.529 GB, free: 31.36 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.001552/21.2, allocations: 192.9 kB / 6.529 GB, free: 31.31 MB / 0.8542 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.02069/21.22, allocations: 7.632 MB / 6.537 GB, free: 25.67 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/21.22, allocations: 7.75 kB / 6.537 GB, free: 25.67 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002234/21.22, allocations: 0.5258 MB / 6.537 GB, free: 25.16 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/21.23, allocations: 1.851 MB / 6.539 GB, free: 23.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02559/21.26, allocations: 9.212 MB / 6.548 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00156/21.26, allocations: 0.5943 MB / 6.549 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001746/21.26, allocations: 440 kB / 6.549 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01432/21.27, allocations: 5.185 MB / 6.554 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001637/21.27, allocations: 7.938 kB / 6.554 GB, free: 7.668 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001337/21.28, allocations: 172 kB / 6.554 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.363e-05/21.28, allocations: 98.5 kB / 6.554 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008105/21.28, allocations: 3.989 MB / 6.558 GB, free: 3.414 MB / 0.8542 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.8061/22.09, allocations: 24.63 MB / 6.582 GB, free: 43.77 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005171/22.1, allocations: 2.629 MB / 6.585 GB, free: 43.73 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002904/22.1, allocations: 1.746 MB / 6.587 GB, free: 43.72 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01697/22.12, allocations: 8.05 MB / 6.594 GB, free: 40.52 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.223e-05/22.12, allocations: 56.84 kB / 6.594 GB, free: 40.48 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004363/22.12, allocations: 397.9 kB / 6.595 GB, free: 40.48 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=190): time 1.634e-05/22.12, allocations: 1.594 kB / 6.595 GB, free: 40.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=190): time 0.01366/22.13, allocations: 4.919 MB / 6.6 GB, free: 39.84 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001893/22.13, allocations: 414.9 kB / 6.6 GB, free: 39.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01907/22.15, allocations: 7.052 MB / 6.607 GB, free: 38.93 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001032/22.15, allocations: 86.94 kB / 6.607 GB, free: 38.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00387/22.16, allocations: 3.585 MB / 6.611 GB, free: 38.33 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00115/22.16, allocations: 0.6309 MB / 6.611 GB, free: 38.02 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/22.16, allocations: 58.98 kB / 6.611 GB, free: 38.02 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002243/22.16, allocations: 417 kB / 6.612 GB, free: 37.71 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002807/22.16, allocations: 2.03 MB / 6.614 GB, free: 37.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003259/22.17, allocations: 3.243 MB / 6.617 GB, free: 36.34 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00355/22.17, allocations: 2.922 MB / 6.62 GB, free: 35.55 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.069e-05/22.17, allocations: 7.594 kB / 6.62 GB, free: 35.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01195/22.18, allocations: 6.735 MB / 6.626 GB, free: 34.31 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.004136/22.19, allocations: 14.44 MB / 6.64 GB, free: 35.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.003e-05/22.19, allocations: 23.69 kB / 6.64 GB, free: 35.56 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/22.19, allocations: 0.4889 MB / 6.641 GB, free: 35.53 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002728/22.19, allocations: 0.593 MB / 6.641 GB, free: 35.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/22.19, allocations: 2.585 MB / 6.644 GB, free: 33.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007857/22.2, allocations: 0.5095 MB / 6.644 GB, free: 33.44 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009316/22.2, allocations: 202.3 kB / 6.645 GB, free: 33.44 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/22.2, allocations: 3.5 kB / 6.645 GB, free: 33.44 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01019/22.21, allocations: 6.83 MB / 6.651 GB, free: 32.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.05e-05/22.21, allocations: 24.94 kB / 6.651 GB, free: 32.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/22.21, allocations: 494 kB / 6.652 GB, free: 32.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/22.21, allocations: 0.5887 MB / 6.652 GB, free: 32.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/22.22, allocations: 2.585 MB / 6.655 GB, free: 30.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007308/22.22, allocations: 0.5013 MB / 6.655 GB, free: 30.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008984/22.22, allocations: 190.8 kB / 6.656 GB, free: 30.49 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 () * 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.001257/22.23, allocations: 0.6582 MB / 6.656 GB, free: 30 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002692/22.23, allocations: 0.7052 MB / 6.657 GB, free: 29.61 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/22.24, allocations: 5.606 MB / 6.662 GB, free: 29.02 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-05/22.24, allocations: 25.59 kB / 6.662 GB, free: 29.02 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/22.24, allocations: 0.5312 kB / 6.662 GB, free: 29.02 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.152e-05/22.24, allocations: 8.344 kB / 6.662 GB, free: 29.02 MB / 0.8855 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.02585/22.27, allocations: 11.49 MB / 6.674 GB, free: 27.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/22.27, allocations: 2.344 kB / 6.674 GB, free: 27.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/22.27, allocations: 401.4 kB / 6.674 GB, free: 27.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/22.27, allocations: 476.6 kB / 6.674 GB, free: 27.89 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002207/22.27, allocations: 72.69 kB / 6.674 GB, free: 27.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/22.27, allocations: 2.57 MB / 6.677 GB, free: 25.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/22.27, allocations: 5.656 kB / 6.677 GB, free: 25.82 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01148/22.29, allocations: 6.322 MB / 6.683 GB, free: 23.62 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004923/22.29, allocations: 1.411 MB / 6.685 GB, free: 23.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002087/22.29, allocations: 56.5 kB / 6.685 GB, free: 23.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005011/22.3, allocations: 452.8 kB / 6.685 GB, free: 23.13 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005469/22.3, allocations: 289.9 kB / 6.685 GB, free: 23.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002732/22.3, allocations: 107.4 kB / 6.685 GB, free: 23.12 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01188/22.31, allocations: 5.403 MB / 6.691 GB, free: 22.84 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.41e-07/22.31, allocations: 0 / 6.691 GB, free: 22.84 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01866/22.33, allocations: 3.627 MB / 6.694 GB, free: 22.69 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) * 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.02621/22.36, allocations: 14.58 MB / 6.708 GB, free: 16.43 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01674/22.37, allocations: 11.16 MB / 6.719 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/22.37, allocations: 6.125 kB / 6.719 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005082/22.38, allocations: 3.461 MB / 6.723 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0189/22.4, allocations: 3.484 MB / 6.726 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03638/22.43, allocations: 12.11 MB / 6.738 GB, free: 26.05 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006894/22.44, allocations: 3.998 MB / 6.742 GB, free: 25.21 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0157/22.45, allocations: 2.484 MB / 6.744 GB, free: 25.13 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006104/22.46, allocations: 3.123 MB / 6.747 GB, free: 25.12 MB / 0.9011 GB Notification: Performance of SimCode: time 1.333e-06/22.46, allocations: 4 kB / 6.747 GB, free: 25.12 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.234/23.7, allocations: 283 MB / 7.024 GB, free: 108.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/23.7, allocations: 231.5 kB / 7.024 GB, free: 108.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/38.2, allocations: 0 / 7.024 GB, free: 108.6 MB / 0.9323 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)