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.7507/0.7507, allocations: 128.7 MB / 143.7 MB, free: 2.316 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001217/0.001217, allocations: 189.9 kB / 173.7 MB, free: 6.141 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.718/1.718, allocations: 205.4 MB / 409 MB, free: 10.51 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.001054/0.001054, allocations: 91.92 kB / 486.5 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003476, allocations: 10.09 kB / 0.5604 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1692, allocations: 76.77 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.234/1.403, allocations: 374.6 MB / 1.001 GB, free: 174.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004913/1.404, allocations: 111.9 kB / 1.001 GB, free: 174.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.096/2.5, allocations: 353.1 MB / 1.346 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.325e-06/2.5, allocations: 0 / 1.346 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001016/2.5, allocations: 29.09 kB / 1.346 GB, free: 138.1 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.002952/2.503, allocations: 1.67 MB / 1.348 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/2.503, allocations: 7.844 kB / 1.348 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/2.503, allocations: 112 kB / 1.348 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003309/2.504, allocations: 135.3 kB / 1.348 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007408/2.511, allocations: 3.574 MB / 1.352 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/2.511, allocations: 52.69 kB / 1.352 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/2.511, allocations: 71.25 kB / 1.352 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/2.513, allocations: 0.8576 MB / 1.353 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/2.513, allocations: 3.953 kB / 1.353 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.409e-05/2.513, allocations: 30.84 kB / 1.353 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/2.513, allocations: 14.66 kB / 1.353 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/2.515, allocations: 0.6471 MB / 1.353 GB, free: 133.5 MB / 0.6511 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.004214/2.519, allocations: 3.453 MB / 1.357 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/2.519, allocations: 429.5 kB / 1.357 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005497/2.52, allocations: 0.6003 MB / 1.358 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/2.52, allocations: 38.55 kB / 1.358 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 2.715e-06/2.52, allocations: 0 / 1.358 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.001702/2.522, allocations: 1.226 MB / 1.359 GB, free: 128 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/2.522, allocations: 147.8 kB / 1.359 GB, free: 127.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/2.523, allocations: 0.9773 MB / 1.36 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/2.523, allocations: 36.98 kB / 1.36 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000341/2.523, allocations: 0.4999 MB / 1.36 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.252e-05/2.523, allocations: 117 kB / 1.361 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/2.524, allocations: 8 kB / 1.361 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.356e-05/2.524, allocations: 328.8 kB / 1.361 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004477/2.524, allocations: 333 kB / 1.361 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005186/2.525, allocations: 492.7 kB / 1.362 GB, free: 125 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/2.525, allocations: 0.5351 MB / 1.362 GB, free: 124.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/2.525, allocations: 4 kB / 1.362 GB, free: 124.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00137/2.527, allocations: 1.101 MB / 1.363 GB, free: 123.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003643/2.527, allocations: 1.496 MB / 1.365 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/2.527, allocations: 4 kB / 1.365 GB, free: 121.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/2.527, allocations: 4 kB / 1.365 GB, free: 121.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/2.527, allocations: 106.4 kB / 1.365 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/2.527, allocations: 10.95 kB / 1.365 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007653/2.528, allocations: 114.8 kB / 1.365 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.158e-05/2.528, allocations: 31.98 kB / 1.365 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/2.528, allocations: 6.5 kB / 1.365 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001256/2.53, allocations: 1.095 MB / 1.366 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/2.53, allocations: 7.953 kB / 1.366 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.691e-06/2.53, allocations: 4 kB / 1.366 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/2.53, allocations: 99.86 kB / 1.366 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/2.53, allocations: 11.92 kB / 1.366 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006135/2.531, allocations: 95.06 kB / 1.366 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-05/2.531, allocations: 35.73 kB / 1.366 GB, free: 120 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 () * Number of clocked 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.000801/2.531, allocations: 474.5 kB / 1.367 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/2.532, allocations: 102.8 kB / 1.367 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/2.533, allocations: 0.8549 MB / 1.368 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/2.533, allocations: 0 / 1.368 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/2.533, allocations: 7.594 kB / 1.368 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008851/2.534, allocations: 0.898 MB / 1.369 GB, free: 117.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002701/2.536, allocations: 1.891 MB / 1.37 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/2.536, allocations: 7.172 kB / 1.37 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/2.537, allocations: 59.91 kB / 1.37 GB, free: 115.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/2.537, allocations: 0 / 1.37 GB, free: 115.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/2.537, allocations: 15.98 kB / 1.37 GB, free: 115.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/2.537, allocations: 6.906 kB / 1.37 GB, free: 115.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/2.537, allocations: 3.938 kB / 1.37 GB, free: 115.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/2.538, allocations: 1.331 MB / 1.372 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004239/2.539, allocations: 279.6 kB / 1.372 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/2.539, allocations: 15.98 kB / 1.372 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004855/2.539, allocations: 42.75 kB / 1.372 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/2.539, allocations: 46.95 kB / 1.372 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/2.539, allocations: 12 kB / 1.372 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009944/2.54, allocations: 0.817 MB / 1.373 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/2.54, allocations: 0 / 1.373 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001728/2.542, allocations: 0.5796 MB / 1.374 GB, free: 112.3 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) * Number of clocked states: 0 () * 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.003046/2.545, allocations: 2.942 MB / 1.376 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001939/2.547, allocations: 1.891 MB / 1.378 GB, free: 107.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/2.547, allocations: 4 kB / 1.378 GB, free: 107.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004569/2.548, allocations: 499.3 kB / 1.379 GB, free: 106.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/2.55, allocations: 0.5156 MB / 1.379 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/2.554, allocations: 5.014 MB / 1.384 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/2.554, allocations: 1.091 MB / 1.385 GB, free: 100.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008271/2.555, allocations: 209.7 kB / 1.385 GB, free: 99.99 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/2.556, allocations: 387.3 kB / 1.386 GB, free: 99.61 MB / 0.6511 GB Notification: Performance of SimCode: time 9.72e-07/2.556, allocations: 0 / 1.386 GB, free: 99.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06475/2.621, allocations: 36.4 MB / 1.421 GB, free: 63.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/2.621, allocations: 251.6 kB / 1.422 GB, free: 63.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.438/6.059, allocations: 4.062 kB / 1.422 GB, free: 63.57 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)