Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",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.001296/0.001296, allocations: 183.4 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4922/0.4922, allocations: 91.98 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.2 MB / 354.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009736/0.0009736, allocations: 107.5 kB / 427.4 MB, free: 3.965 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.000415, allocations: 8 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1525, allocations: 72.31 MB / 0.5689 GB, free: 1.82 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.167/1.32, allocations: 376.7 MB / 0.9368 GB, free: 90.11 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003412/1.32, allocations: 106.1 kB / 0.9369 GB, free: 90.05 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.564/2.884, allocations: 370.1 MB / 1.298 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.816e-06/2.884, allocations: 0 / 1.298 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001701/2.884, allocations: 27.34 kB / 1.298 GB, free: 110.6 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.004238/2.888, allocations: 1.636 MB / 1.3 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/2.888, allocations: 14.44 kB / 1.3 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003323/2.889, allocations: 106.6 kB / 1.3 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006351/2.889, allocations: 130.1 kB / 1.3 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002992/2.892, allocations: 1.189 MB / 1.301 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.986e-05/2.892, allocations: 52.61 kB / 1.301 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/2.893, allocations: 66.16 kB / 1.301 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/2.894, allocations: 0.7977 MB / 1.302 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/2.894, allocations: 0 / 1.302 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.659e-05/2.894, allocations: 28.2 kB / 1.302 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.845e-05/2.894, allocations: 19.55 kB / 1.302 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/2.896, allocations: 0.6171 MB / 1.303 GB, free: 109.3 MB / 0.6042 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.004638/2.901, allocations: 3.114 MB / 1.306 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008254/2.901, allocations: 451.2 kB / 1.306 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00069/2.902, allocations: 0.7725 MB / 1.307 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/2.902, allocations: 37 kB / 1.307 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 2.735e-06/2.902, allocations: 1.344 kB / 1.307 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.001892/2.904, allocations: 1.237 MB / 1.308 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.609e-05/2.904, allocations: 143.5 kB / 1.309 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/2.906, allocations: 0.9778 MB / 1.309 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-05/2.906, allocations: 34.27 kB / 1.31 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000446/2.906, allocations: 481.2 kB / 1.31 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/2.907, allocations: 127 kB / 1.31 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/2.907, allocations: 14.5 kB / 1.31 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.64e-05/2.907, allocations: 324.9 kB / 1.31 GB, free: 106 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005873/2.907, allocations: 334.5 kB / 1.311 GB, free: 106 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000656/2.908, allocations: 448 kB / 1.311 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006814/2.909, allocations: 0.5343 MB / 1.312 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/2.909, allocations: 0 / 1.312 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001783/2.91, allocations: 1.083 MB / 1.313 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003117/2.911, allocations: 0.8734 MB / 1.314 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/2.911, allocations: 5.312 kB / 1.314 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/2.911, allocations: 3.906 kB / 1.314 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/2.911, allocations: 94.05 kB / 1.314 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/2.911, allocations: 9.766 kB / 1.314 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007568/2.912, allocations: 103 kB / 1.314 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.768e-05/2.912, allocations: 33.67 kB / 1.314 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/2.912, allocations: 8.516 kB / 1.314 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001443/2.914, allocations: 1.072 MB / 1.315 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/2.914, allocations: 1 kB / 1.315 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.693e-06/2.914, allocations: 4.875 kB / 1.315 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/2.914, allocations: 89 kB / 1.315 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/2.914, allocations: 6.781 kB / 1.315 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00064/2.915, allocations: 93.81 kB / 1.315 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.829e-05/2.915, allocations: 28.72 kB / 1.315 GB, free: 104.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 6 * 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.0006623/2.915, allocations: 477 kB / 1.316 GB, free: 104 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/2.915, allocations: 104.3 kB / 1.316 GB, free: 104 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/2.917, allocations: 0.9078 MB / 1.317 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/2.917, allocations: 7.781 kB / 1.317 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/2.917, allocations: 0 / 1.317 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00107/2.918, allocations: 0.9892 MB / 1.318 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/2.921, allocations: 2.115 MB / 1.32 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/2.921, allocations: 3.969 kB / 1.32 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/2.921, allocations: 70.77 kB / 1.32 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/2.921, allocations: 3.906 kB / 1.32 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/2.921, allocations: 15.5 kB / 1.32 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/2.921, allocations: 3.938 kB / 1.32 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/2.921, allocations: 3.938 kB / 1.32 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/2.923, allocations: 1.52 MB / 1.321 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004366/2.923, allocations: 295.2 kB / 1.321 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/2.923, allocations: 18.94 kB / 1.321 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000505/2.924, allocations: 51.14 kB / 1.322 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/2.924, allocations: 51.55 kB / 1.322 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.441e-05/2.924, allocations: 18.02 kB / 1.322 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009437/2.925, allocations: 0.7836 MB / 1.322 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.7e-07/2.925, allocations: 0 / 1.322 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001647/2.927, allocations: 0.5903 MB / 1.323 GB, free: 102 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.watFlo_mod.i,con.mod.temDif_mod.i,con.mod.airFlo_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * 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.003173/2.93, allocations: 3.26 MB / 1.326 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001885/2.932, allocations: 1.916 MB / 1.328 GB, free: 99.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/2.932, allocations: 0 / 1.328 GB, free: 99.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005507/2.932, allocations: 0.5462 MB / 1.329 GB, free: 99.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/2.935, allocations: 0.4988 MB / 1.329 GB, free: 99.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/2.939, allocations: 3.975 MB / 1.333 GB, free: 97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/2.939, allocations: 1.092 MB / 1.334 GB, free: 96.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007802/2.94, allocations: 202.3 kB / 1.334 GB, free: 96.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004269/2.94, allocations: 385.5 kB / 1.335 GB, free: 96.28 MB / 0.6042 GB Notification: Performance of SimCode: time 7.32e-07/2.94, allocations: 3 kB / 1.335 GB, free: 96.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05556/2.996, allocations: 36.19 MB / 1.37 GB, free: 95.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/2.996, allocations: 237.6 kB / 1.37 GB, free: 94.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.26/6.256, allocations: 0 / 1.37 GB, free: 94.79 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)