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.0009587/0.0009588, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4968/0.4968, allocations: 90.91 MB / 99.34 MB, free: 2.207 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 221.5 MB / 343.2 MB, free: 1.555 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008813/0.0008814, allocations: 95.88 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.95e-05, allocations: 4 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1538, allocations: 72.3 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.184/1.338, allocations: 376 MB / 0.9208 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/1.338, allocations: 95 kB / 0.9209 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.463/2.801, allocations: 367.2 MB / 1.279 GB, free: 104 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.443e-06/2.801, allocations: 0 / 1.279 GB, free: 104 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001198/2.801, allocations: 29.84 kB / 1.279 GB, free: 104 MB / 0.5886 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.002393/2.803, allocations: 1.435 MB / 1.281 GB, free: 103.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/2.803, allocations: 9.469 kB / 1.281 GB, free: 103.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003047/2.804, allocations: 135.1 kB / 1.281 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/2.806, allocations: 1.17 MB / 1.282 GB, free: 103 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/2.806, allocations: 20.19 kB / 1.282 GB, free: 103 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/2.806, allocations: 42.36 kB / 1.282 GB, free: 103 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009519/2.807, allocations: 0.5319 MB / 1.283 GB, free: 103 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/2.808, allocations: 0.6855 MB / 1.283 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/2.808, allocations: 0 / 1.283 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.492e-05/2.808, allocations: 9.828 kB / 1.283 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/2.808, allocations: 18.78 kB / 1.283 GB, free: 102.9 MB / 0.5886 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.003661/2.812, allocations: 2.951 MB / 1.286 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/2.812, allocations: 407.7 kB / 1.287 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/2.813, allocations: 282.9 kB / 1.287 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000607/2.813, allocations: 0.7633 MB / 1.288 GB, free: 101 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/2.813, allocations: 44.75 kB / 1.288 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=37): time 2.435e-06/2.813, allocations: 0 / 1.288 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=37): time 0.001216/2.814, allocations: 0.6339 MB / 1.288 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/2.814, allocations: 142.7 kB / 1.289 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009127/2.815, allocations: 0.7995 MB / 1.289 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/2.815, allocations: 25.7 kB / 1.289 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/2.816, allocations: 493.1 kB / 1.29 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/2.816, allocations: 125.6 kB / 1.29 GB, free: 100.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/2.816, allocations: 1.062 kB / 1.29 GB, free: 100.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.544e-05/2.816, allocations: 325.5 kB / 1.29 GB, free: 100 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004023/2.816, allocations: 304.7 kB / 1.291 GB, free: 100 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/2.817, allocations: 418 kB / 1.291 GB, free: 99.89 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000706/2.818, allocations: 387.3 kB / 1.291 GB, free: 99.89 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/2.818, allocations: 0 / 1.291 GB, free: 99.89 MB / 0.5886 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001262/2.819, allocations: 0.8707 MB / 1.292 GB, free: 99.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002129/2.819, allocations: 0.8727 MB / 1.293 GB, free: 98.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/2.819, allocations: 3.938 kB / 1.293 GB, free: 98.89 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/2.819, allocations: 9.906 kB / 1.293 GB, free: 98.89 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/2.819, allocations: 94.72 kB / 1.293 GB, free: 98.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/2.819, allocations: 8.688 kB / 1.293 GB, free: 98.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005931/2.82, allocations: 76.33 kB / 1.293 GB, free: 98.88 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.656e-05/2.82, allocations: 27.84 kB / 1.293 GB, free: 98.88 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.161e-06/2.82, allocations: 3.969 kB / 1.293 GB, free: 98.88 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001226/2.821, allocations: 0.8327 MB / 1.294 GB, free: 98.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/2.821, allocations: 0 / 1.294 GB, free: 98.86 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.851e-06/2.821, allocations: 11.05 kB / 1.294 GB, free: 98.86 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/2.822, allocations: 92.27 kB / 1.294 GB, free: 98.86 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/2.822, allocations: 5.281 kB / 1.294 GB, free: 98.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004674/2.822, allocations: 66.03 kB / 1.294 GB, free: 98.85 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/2.822, allocations: 26.95 kB / 1.294 GB, free: 98.85 MB / 0.5886 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 () * 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.0001773/2.822, allocations: 208.4 kB / 1.294 GB, free: 98.65 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00101/2.824, allocations: 0.662 MB / 1.295 GB, free: 98.57 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/2.824, allocations: 92.02 kB / 1.295 GB, free: 98.52 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/2.825, allocations: 0.779 MB / 1.296 GB, free: 98.45 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/2.825, allocations: 4.125 kB / 1.296 GB, free: 98.45 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/2.825, allocations: 2.375 kB / 1.296 GB, free: 98.45 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009448/2.826, allocations: 0.862 MB / 1.297 GB, free: 98.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002533/2.828, allocations: 1.867 MB / 1.299 GB, free: 97.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/2.828, allocations: 3.844 kB / 1.299 GB, free: 97.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/2.829, allocations: 72.81 kB / 1.299 GB, free: 97.66 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/2.829, allocations: 3.969 kB / 1.299 GB, free: 97.66 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/2.829, allocations: 11.56 kB / 1.299 GB, free: 97.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/2.829, allocations: 11.52 kB / 1.299 GB, free: 97.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/2.829, allocations: 3.719 kB / 1.299 GB, free: 97.66 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/2.83, allocations: 1.342 MB / 1.3 GB, free: 97.27 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003235/2.831, allocations: 270.8 kB / 1.3 GB, free: 97.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/2.831, allocations: 14.23 kB / 1.3 GB, free: 97.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/2.831, allocations: 37.19 kB / 1.3 GB, free: 97.12 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/2.831, allocations: 51.38 kB / 1.3 GB, free: 97.12 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/2.831, allocations: 22.3 kB / 1.3 GB, free: 97.12 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0007061/2.832, allocations: 0.6203 MB / 1.301 GB, free: 97.01 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/2.832, allocations: 0 / 1.301 GB, free: 97.01 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001677/2.834, allocations: 0.5861 MB / 1.302 GB, free: 96.91 MB / 0.5886 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) * 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.00302/2.837, allocations: 3.057 MB / 1.305 GB, free: 95.38 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001609/2.838, allocations: 1.839 MB / 1.306 GB, free: 94.61 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/2.838, allocations: 3.938 kB / 1.306 GB, free: 94.61 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004341/2.839, allocations: 0.5142 MB / 1.307 GB, free: 94.43 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/2.841, allocations: 404.1 kB / 1.307 GB, free: 94.42 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/2.844, allocations: 1.749 MB / 1.309 GB, free: 93.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/2.844, allocations: 1.09 MB / 1.31 GB, free: 93.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009044/2.845, allocations: 281.5 kB / 1.31 GB, free: 93.18 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003624/2.845, allocations: 360.9 kB / 1.311 GB, free: 93.18 MB / 0.5886 GB Notification: Performance of SimCode: time 8.62e-07/2.845, allocations: 0 / 1.311 GB, free: 93.18 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07618/2.922, allocations: 30.17 MB / 1.34 GB, free: 92.08 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002504/2.922, allocations: 190 kB / 1.34 GB, free: 91.89 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.952/5.874, allocations: 0 / 1.34 GB, free: 91.89 MB / 0.5886 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)