Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.793/1.793, allocations: 289.9 MB / 297.4 MB, free: 6.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001799/0.001799, allocations: 192.5 kB / 366.7 MB, free: 1.637 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.996/1.996, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008369/0.0008369, allocations: 94.69 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.564e-05/2.566e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6758/0.6758, allocations: 116.3 MB / 0.9734 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.085/1.76, allocations: 413 MB / 1.377 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/1.761, allocations: 103.1 kB / 1.377 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.363/3.124, allocations: 359.2 MB / 1.728 GB, free: 240.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.884e-06/3.124, allocations: 0 / 1.728 GB, free: 240.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001008/3.124, allocations: 24.69 kB / 1.728 GB, free: 240.1 MB / 0.948 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.002304/3.127, allocations: 1.445 MB / 1.729 GB, free: 239.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/3.127, allocations: 7.844 kB / 1.729 GB, free: 239.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003067/3.127, allocations: 135.5 kB / 1.729 GB, free: 239 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/3.129, allocations: 1.17 MB / 1.73 GB, free: 238.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/3.129, allocations: 22.67 kB / 1.73 GB, free: 238.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.434e-05/3.129, allocations: 45.84 kB / 1.73 GB, free: 238.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008858/3.13, allocations: 0.5343 MB / 1.731 GB, free: 238.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/3.131, allocations: 0.6809 MB / 1.732 GB, free: 237.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/3.131, allocations: 3.469 kB / 1.732 GB, free: 237.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.374e-05/3.131, allocations: 3.938 kB / 1.732 GB, free: 237.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/3.131, allocations: 18.97 kB / 1.732 GB, free: 237.8 MB / 0.948 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.003606/3.135, allocations: 2.959 MB / 1.734 GB, free: 236 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005468/3.135, allocations: 419 kB / 1.735 GB, free: 235.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/3.136, allocations: 272.4 kB / 1.735 GB, free: 235.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006671/3.136, allocations: 0.7725 MB / 1.736 GB, free: 234.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/3.136, allocations: 38.72 kB / 1.736 GB, free: 234.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 3.516e-06/3.137, allocations: 0 / 1.736 GB, free: 234.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.001298/3.138, allocations: 0.6402 MB / 1.737 GB, free: 234.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.776e-05/3.138, allocations: 140.5 kB / 1.737 GB, free: 234.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009543/3.139, allocations: 0.8024 MB / 1.737 GB, free: 234 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/3.139, allocations: 25.7 kB / 1.737 GB, free: 234 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/3.139, allocations: 494.7 kB / 1.738 GB, free: 233.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.243e-05/3.139, allocations: 124.1 kB / 1.738 GB, free: 233.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/3.139, allocations: 3.906 kB / 1.738 GB, free: 233.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.575e-05/3.139, allocations: 321.1 kB / 1.738 GB, free: 233.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/3.14, allocations: 310.7 kB / 1.739 GB, free: 233.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004078/3.14, allocations: 409.7 kB / 1.739 GB, free: 232.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007189/3.141, allocations: 390.8 kB / 1.739 GB, free: 232.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/3.141, allocations: 3.625 kB / 1.739 GB, free: 232.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001353/3.142, allocations: 0.8628 MB / 1.74 GB, free: 232.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003313/3.143, allocations: 0.8736 MB / 1.741 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/3.143, allocations: 0 / 1.741 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/3.143, allocations: 6.625 kB / 1.741 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/3.143, allocations: 90.75 kB / 1.741 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/3.143, allocations: 11.05 kB / 1.741 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007067/3.144, allocations: 78.59 kB / 1.741 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-05/3.144, allocations: 29.42 kB / 1.741 GB, free: 231.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/3.144, allocations: 7.25 kB / 1.741 GB, free: 231.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001279/3.145, allocations: 0.8257 MB / 1.742 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-06/3.145, allocations: 0 / 1.742 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.063e-06/3.145, allocations: 6 kB / 1.742 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/3.146, allocations: 90.31 kB / 1.742 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/3.146, allocations: 11.06 kB / 1.742 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005676/3.146, allocations: 66.81 kB / 1.742 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.998e-05/3.146, allocations: 33.98 kB / 1.742 GB, free: 231.1 MB / 0.948 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.0002226/3.147, allocations: 218.2 kB / 1.743 GB, free: 230.8 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001099/3.148, allocations: 0.6608 MB / 1.743 GB, free: 230.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/3.148, allocations: 85.81 kB / 1.743 GB, free: 230.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/3.149, allocations: 0.7676 MB / 1.744 GB, free: 230.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/3.149, allocations: 3.656 kB / 1.744 GB, free: 230.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/3.149, allocations: 3.953 kB / 1.744 GB, free: 230.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001041/3.15, allocations: 0.8639 MB / 1.745 GB, free: 229.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/3.153, allocations: 1.871 MB / 1.747 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/3.153, allocations: 3.188 kB / 1.747 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/3.154, allocations: 65.58 kB / 1.747 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/3.154, allocations: 7.594 kB / 1.747 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/3.154, allocations: 15.09 kB / 1.747 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/3.154, allocations: 6.5 kB / 1.747 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/3.154, allocations: 0 / 1.747 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/3.156, allocations: 1.346 MB / 1.748 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004846/3.156, allocations: 268.5 kB / 1.748 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/3.156, allocations: 11.91 kB / 1.748 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004943/3.157, allocations: 37.67 kB / 1.748 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/3.157, allocations: 45.83 kB / 1.748 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.025e-05/3.157, allocations: 23.02 kB / 1.748 GB, free: 227.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009248/3.158, allocations: 0.6168 MB / 1.749 GB, free: 227.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/3.158, allocations: 0 / 1.749 GB, free: 227.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002079/3.16, allocations: 0.5867 MB / 1.75 GB, free: 227.2 MB / 0.948 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.003686/3.164, allocations: 3.067 MB / 1.753 GB, free: 225.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001969/3.166, allocations: 1.845 MB / 1.754 GB, free: 224.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/3.166, allocations: 0 / 1.754 GB, free: 224.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005977/3.166, allocations: 0.517 MB / 1.755 GB, free: 223.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/3.169, allocations: 416.6 kB / 1.755 GB, free: 223.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004163/3.173, allocations: 1.737 MB / 1.757 GB, free: 222.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005608/3.174, allocations: 1.093 MB / 1.758 GB, free: 222.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001142/3.175, allocations: 290.2 kB / 1.758 GB, free: 222.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004135/3.175, allocations: 354.2 kB / 1.759 GB, free: 221.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.463e-06/3.175, allocations: 0 / 1.759 GB, free: 221.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0642/3.24, allocations: 30.36 MB / 1.788 GB, free: 206.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/3.24, allocations: 203.6 kB / 1.789 GB, free: 206.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.134/6.374, allocations: 0 / 1.789 GB, free: 206.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)