Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.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: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7887/0.7887, allocations: 143.3 MB / 158.3 MB, free: 5.77 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.001286/0.001286, allocations: 187.5 kB / 191.5 MB, free: 5.75 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.417/1.417, allocations: 223.2 MB / 447.7 MB, free: 4.836 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.0008675/0.0008674, allocations: 88.33 kB / 0.5187 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001649/0.001649, allocations: 271.2 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004205, allocations: 15.41 kB / 0.6929 GB, free: 59.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1758, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.044/5.22, allocations: 2.163 GB / 2.937 GB, free: 134.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/5.22, allocations: 107.2 kB / 2.937 GB, free: 134.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 14.32/19.54, allocations: 3.733 GB / 6.67 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.595e-06/19.54, allocations: 0 / 6.67 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001458/19.55, allocations: 187.8 kB / 6.671 GB, free: 7.855 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.03042/19.58, allocations: 9.793 MB / 6.68 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.034e-05/19.58, allocations: 14.19 kB / 6.68 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002958/19.58, allocations: 0.5274 MB / 6.681 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/19.59, allocations: 1.847 MB / 6.682 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03425/19.63, allocations: 9.257 MB / 6.691 GB, free: 2.09 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001688/19.63, allocations: 0.5904 MB / 6.692 GB, free: 1.496 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002353/19.63, allocations: 440 kB / 6.692 GB, free: 1.066 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8193/20.45, allocations: 5.529 MB / 6.698 GB, free: 40.89 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-05/20.45, allocations: 5.531 kB / 6.698 GB, free: 40.89 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006127/20.45, allocations: 173.4 kB / 6.698 GB, free: 40.89 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/20.45, allocations: 99.5 kB / 6.698 GB, free: 40.89 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01453/20.46, allocations: 4.632 MB / 6.703 GB, free: 40.86 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 preOpt removeSimpleEquations (simulation): time 0.05556/20.52, allocations: 24.64 MB / 6.727 GB, free: 32.11 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007319/20.53, allocations: 3.262 MB / 6.73 GB, free: 32.07 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01677/20.54, allocations: 8.03 MB / 6.738 GB, free: 28.79 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.19e-05/20.54, allocations: 52.12 kB / 6.738 GB, free: 28.75 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005638/20.55, allocations: 399.5 kB / 6.738 GB, free: 28.66 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=190): time 2.076e-05/20.55, allocations: 0 / 6.738 GB, free: 28.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=190): time 0.0251/20.57, allocations: 9.541 MB / 6.747 GB, free: 26.25 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001645/20.58, allocations: 414.3 kB / 6.748 GB, free: 25.82 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01634/20.59, allocations: 7.134 MB / 6.755 GB, free: 25.38 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001097/20.59, allocations: 82.95 kB / 6.755 GB, free: 25.35 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.004703/20.6, allocations: 3.585 MB / 6.758 GB, free: 24.78 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001246/20.6, allocations: 0.6349 MB / 6.759 GB, free: 24.46 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/20.6, allocations: 52.53 kB / 6.759 GB, free: 24.46 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001728/20.6, allocations: 431.4 kB / 6.76 GB, free: 24.15 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004018/20.6, allocations: 2.331 MB / 6.762 GB, free: 24.14 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005055/20.61, allocations: 3.554 MB / 6.765 GB, free: 22.78 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005433/20.61, allocations: 3.214 MB / 6.768 GB, free: 22 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.807e-05/20.61, allocations: 12.56 kB / 6.768 GB, free: 22 MB / 0.8855 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01673/20.63, allocations: 7.406 MB / 6.776 GB, free: 20.76 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.005899/20.64, allocations: 14.45 MB / 6.79 GB, free: 22.01 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/20.64, allocations: 28.84 kB / 6.79 GB, free: 22.01 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001981/20.64, allocations: 0.6255 MB / 6.79 GB, free: 21.98 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002878/20.64, allocations: 0.595 MB / 6.791 GB, free: 21.98 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/20.64, allocations: 2.798 MB / 6.794 GB, free: 19.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008476/20.65, allocations: 0.506 MB / 6.794 GB, free: 19.89 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00145/20.65, allocations: 200.4 kB / 6.794 GB, free: 19.89 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/20.65, allocations: 4.938 kB / 6.794 GB, free: 19.89 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01454/20.67, allocations: 7.52 MB / 6.802 GB, free: 19.06 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001021/20.67, allocations: 24.31 kB / 6.802 GB, free: 19.06 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001673/20.67, allocations: 0.6272 MB / 6.802 GB, free: 19.03 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/20.67, allocations: 0.586 MB / 6.803 GB, free: 19.03 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002886/20.68, allocations: 2.8 MB / 6.806 GB, free: 16.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008156/20.68, allocations: 0.5018 MB / 6.806 GB, free: 16.94 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001114/20.69, allocations: 189.5 kB / 6.806 GB, free: 16.94 MB / 0.9011 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.007815/20.69, allocations: 2.191 MB / 6.808 GB, free: 32.37 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002972/20.7, allocations: 0.7054 MB / 6.809 GB, free: 31.99 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01867/20.71, allocations: 6.296 MB / 6.815 GB, free: 31.39 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.494e-05/20.72, allocations: 19.78 kB / 6.815 GB, free: 31.39 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.015e-05/20.72, allocations: 0 / 6.815 GB, free: 31.39 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.695e-05/20.72, allocations: 12.7 kB / 6.815 GB, free: 31.39 MB / 0.9167 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.03776/20.75, allocations: 12.15 MB / 6.827 GB, free: 30.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.51e-05/20.75, allocations: 6.219 kB / 6.827 GB, free: 30.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001989/20.75, allocations: 395.5 kB / 6.828 GB, free: 30.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00174/20.76, allocations: 0.5993 MB / 6.828 GB, free: 30.27 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006351/20.76, allocations: 75.81 kB / 6.828 GB, free: 30.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003098/20.76, allocations: 2.789 MB / 6.831 GB, free: 28.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/20.76, allocations: 12.3 kB / 6.831 GB, free: 28.19 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01629/20.78, allocations: 6.988 MB / 6.838 GB, free: 26 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005851/20.78, allocations: 1.411 MB / 6.839 GB, free: 25.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003085/20.79, allocations: 59.62 kB / 6.839 GB, free: 25.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006705/20.79, allocations: 449.5 kB / 6.84 GB, free: 25.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000956/20.79, allocations: 285.9 kB / 6.84 GB, free: 25.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006595/20.79, allocations: 107.9 kB / 6.84 GB, free: 25.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01566/20.81, allocations: 5.492 MB / 6.845 GB, free: 25.25 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.92e-07/20.81, allocations: 0 / 6.845 GB, free: 25.25 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02269/20.83, allocations: 3.621 MB / 6.849 GB, free: 25.11 MB / 0.9167 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.03161/20.86, allocations: 15.25 MB / 6.864 GB, free: 18.46 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02089/20.89, allocations: 11.79 MB / 6.875 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/20.89, allocations: 2.188 kB / 6.875 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.006667/20.89, allocations: 3.768 MB / 6.879 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02013/20.91, allocations: 3.527 MB / 6.882 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0678/20.98, allocations: 36.07 MB / 6.918 GB, free: 4.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009666/20.99, allocations: 3.984 MB / 6.922 GB, free: 3.605 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0117/21, allocations: 1.462 MB / 6.923 GB, free: 3.379 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008128/21.01, allocations: 3.245 MB / 6.926 GB, free: 3.367 MB / 0.9323 GB Notification: Performance of SimCode: time 1.643e-06/21.01, allocations: 0 / 6.926 GB, free: 3.367 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.245/22.26, allocations: 269.2 MB / 7.189 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/22.26, allocations: 278.3 kB / 7.189 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/34.15, allocations: 0 / 7.189 GB, free: 104.3 MB / 0.9636 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe 2>&1)