Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7837/0.7837, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 187.6 kB / 169.7 MB, free: 1.758 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.906/1.906, allocations: 205.1 MB / 404.5 MB, free: 1.57 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008551/0.0008548, allocations: 94.33 kB / 481.8 MB, free: 4.223 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.768e-05/3.769e-05, allocations: 0 / 0.5533 GB, free: 54.71 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1766, allocations: 76.76 MB / 0.6283 GB, free: 9.895 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.284/1.461, allocations: 374.6 MB / 0.9941 GB, free: 139.6 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/1.461, allocations: 108.2 kB / 0.9942 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.12/2.582, allocations: 351.9 MB / 1.338 GB, free: 70.35 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.142e-06/2.582, allocations: 4 kB / 1.338 GB, free: 70.35 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001635/2.582, allocations: 24 kB / 1.338 GB, free: 70.32 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.003414/2.585, allocations: 1.449 MB / 1.339 GB, free: 68.78 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/2.585, allocations: 12.03 kB / 1.339 GB, free: 68.77 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002949/2.586, allocations: 110.5 kB / 1.339 GB, free: 68.65 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006855/2.586, allocations: 134.4 kB / 1.339 GB, free: 68.52 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008127/2.594, allocations: 3.529 MB / 1.343 GB, free: 64.95 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.959e-05/2.595, allocations: 49.31 kB / 1.343 GB, free: 64.89 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002696/2.595, allocations: 72.59 kB / 1.343 GB, free: 64.82 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/2.597, allocations: 0.821 MB / 1.344 GB, free: 63.97 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/2.597, allocations: 7.891 kB / 1.344 GB, free: 63.96 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.403e-05/2.597, allocations: 28 kB / 1.344 GB, free: 63.93 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/2.597, allocations: 23.98 kB / 1.344 GB, free: 63.91 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/2.598, allocations: 0.5947 MB / 1.344 GB, free: 63.32 MB / 0.6511 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.006163/2.604, allocations: 3.455 MB / 1.348 GB, free: 59.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005811/2.605, allocations: 411.1 kB / 1.348 GB, free: 59.28 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/2.605, allocations: 265.1 kB / 1.349 GB, free: 59.02 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005833/2.606, allocations: 0.6051 MB / 1.349 GB, free: 58.29 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/2.606, allocations: 34.56 kB / 1.349 GB, free: 58.24 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 3.326e-06/2.606, allocations: 0 / 1.349 GB, free: 58.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.001375/2.607, allocations: 0.7041 MB / 1.35 GB, free: 57.52 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/2.607, allocations: 140.5 kB / 1.35 GB, free: 57.35 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/2.609, allocations: 0.9703 MB / 1.351 GB, free: 56.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.845e-05/2.609, allocations: 41.7 kB / 1.351 GB, free: 56.31 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/2.609, allocations: 0.4923 MB / 1.351 GB, free: 55.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/2.609, allocations: 110.4 kB / 1.352 GB, free: 55.71 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/2.609, allocations: 12 kB / 1.352 GB, free: 55.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000107/2.609, allocations: 330 kB / 1.352 GB, free: 55.37 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/2.61, allocations: 313 kB / 1.352 GB, free: 55.06 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/2.61, allocations: 462.7 kB / 1.353 GB, free: 54.55 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004838/2.611, allocations: 0.5188 MB / 1.353 GB, free: 53.99 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.481e-05/2.611, allocations: 0 / 1.353 GB, free: 53.99 MB / 0.6511 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001332/2.612, allocations: 1.064 MB / 1.354 GB, free: 52.88 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000634/2.613, allocations: 1.501 MB / 1.356 GB, free: 51.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/2.613, allocations: 0 / 1.356 GB, free: 51.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.258e-05/2.613, allocations: 8 kB / 1.356 GB, free: 51.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/2.613, allocations: 99.88 kB / 1.356 GB, free: 51.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/2.613, allocations: 4 kB / 1.356 GB, free: 51.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008143/2.614, allocations: 119.1 kB / 1.356 GB, free: 51.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-05/2.614, allocations: 27.98 kB / 1.356 GB, free: 51 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/2.614, allocations: 4 kB / 1.356 GB, free: 50.99 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001185/2.615, allocations: 1.06 MB / 1.357 GB, free: 49.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/2.615, allocations: 4 kB / 1.357 GB, free: 49.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/2.615, allocations: 8 kB / 1.357 GB, free: 49.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/2.616, allocations: 92.27 kB / 1.357 GB, free: 49.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/2.616, allocations: 15.98 kB / 1.357 GB, free: 49.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006571/2.617, allocations: 95.19 kB / 1.357 GB, free: 49.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/2.617, allocations: 31.98 kB / 1.357 GB, free: 49.65 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 49 * 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.0001738/2.617, allocations: 230.3 kB / 1.357 GB, free: 49.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/2.617, allocations: 102.7 kB / 1.357 GB, free: 49.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/2.618, allocations: 0.8111 MB / 1.358 GB, free: 48.45 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/2.618, allocations: 8 kB / 1.358 GB, free: 48.45 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/2.618, allocations: 0 / 1.358 GB, free: 48.45 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006925/2.619, allocations: 0.8628 MB / 1.359 GB, free: 47.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/2.621, allocations: 1.853 MB / 1.361 GB, free: 45.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/2.621, allocations: 0 / 1.361 GB, free: 45.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/2.622, allocations: 59.95 kB / 1.361 GB, free: 45.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/2.622, allocations: 8 kB / 1.361 GB, free: 45.46 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/2.622, allocations: 16 kB / 1.361 GB, free: 45.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/2.622, allocations: 0 / 1.361 GB, free: 45.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/2.622, allocations: 8.188 kB / 1.361 GB, free: 45.44 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/2.623, allocations: 1.278 MB / 1.362 GB, free: 44.09 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/2.623, allocations: 283.6 kB / 1.362 GB, free: 43.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/2.624, allocations: 12 kB / 1.363 GB, free: 43.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005775/2.624, allocations: 48.02 kB / 1.363 GB, free: 43.73 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/2.624, allocations: 39.95 kB / 1.363 GB, free: 43.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.819e-05/2.624, allocations: 12 kB / 1.363 GB, free: 43.68 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001045/2.625, allocations: 0.8025 MB / 1.363 GB, free: 42.87 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.61e-07/2.625, allocations: 0 / 1.363 GB, free: 42.87 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001875/2.627, allocations: 0.5771 MB / 1.364 GB, free: 42.29 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 1 * 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.002927/2.63, allocations: 2.857 MB / 1.367 GB, free: 39.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001773/2.632, allocations: 1.868 MB / 1.369 GB, free: 37.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/2.632, allocations: 0 / 1.369 GB, free: 37.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004238/2.632, allocations: 470.4 kB / 1.369 GB, free: 36.85 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/2.635, allocations: 0.5236 MB / 1.37 GB, free: 36.33 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/2.638, allocations: 1.749 MB / 1.371 GB, free: 34.51 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/2.639, allocations: 1.093 MB / 1.372 GB, free: 33.39 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001282/2.64, allocations: 320 kB / 1.373 GB, free: 33.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004079/2.64, allocations: 371.3 kB / 1.373 GB, free: 32.71 MB / 0.6511 GB Notification: Performance of SimCode: time 5.92e-07/2.64, allocations: 4 kB / 1.373 GB, free: 32.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4765/3.117, allocations: 38.88 MB / 1.411 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/3.117, allocations: 236 kB / 1.411 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.349/6.466, allocations: 1.688 kB / 1.411 GB, free: 122.1 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)