Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8202/0.8202, allocations: 141.8 MB / 149.3 MB, free: 9.199 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 176.8 kB / 182.2 MB, free: 9.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 221.5 MB / 436.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 91.84 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001934/0.001934, allocations: 280.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.314e-05/2.316e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5518/0.5519, allocations: 82.77 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9526/1.505, allocations: 383.2 MB / 1.132 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003666/1.505, allocations: 105 kB / 1.132 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.724/3.229, allocations: 366.1 MB / 1.489 GB, free: 159.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.383e-06/3.23, allocations: 0 / 1.489 GB, free: 159.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.991e-05/3.23, allocations: 23.28 kB / 1.489 GB, free: 159.8 MB / 0.698 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.002388/3.232, allocations: 1.446 MB / 1.491 GB, free: 159.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/3.232, allocations: 7.344 kB / 1.491 GB, free: 159.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002859/3.232, allocations: 131.5 kB / 1.491 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/3.234, allocations: 1.175 MB / 1.492 GB, free: 158.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/3.234, allocations: 22.38 kB / 1.492 GB, free: 158.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.962e-05/3.234, allocations: 44.69 kB / 1.492 GB, free: 158.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008264/3.235, allocations: 0.5309 MB / 1.493 GB, free: 158.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009795/3.236, allocations: 0.6778 MB / 1.493 GB, free: 158.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/3.236, allocations: 3.469 kB / 1.493 GB, free: 158.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.525e-05/3.236, allocations: 3.719 kB / 1.493 GB, free: 158.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.674e-05/3.236, allocations: 16.88 kB / 1.493 GB, free: 158.7 MB / 0.698 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.003699/3.24, allocations: 2.956 MB / 1.496 GB, free: 157.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005461/3.241, allocations: 415.6 kB / 1.497 GB, free: 157.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/3.241, allocations: 271.8 kB / 1.497 GB, free: 157.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006556/3.242, allocations: 0.7746 MB / 1.498 GB, free: 156.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/3.242, allocations: 38.66 kB / 1.498 GB, free: 156.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 3.527e-06/3.242, allocations: 0 / 1.498 GB, free: 156.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.00127/3.243, allocations: 0.6365 MB / 1.498 GB, free: 156.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/3.243, allocations: 143.1 kB / 1.498 GB, free: 156.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009269/3.244, allocations: 0.7972 MB / 1.499 GB, free: 156.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/3.244, allocations: 29.64 kB / 1.499 GB, free: 156.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003071/3.244, allocations: 491.1 kB / 1.5 GB, free: 156.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.588e-05/3.244, allocations: 123.9 kB / 1.5 GB, free: 156.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/3.245, allocations: 0 / 1.5 GB, free: 156.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.288e-05/3.245, allocations: 330.1 kB / 1.5 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/3.245, allocations: 310.3 kB / 1.5 GB, free: 155.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/3.245, allocations: 413 kB / 1.501 GB, free: 155.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000728/3.246, allocations: 386.7 kB / 1.501 GB, free: 155.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/3.246, allocations: 0.5625 kB / 1.501 GB, free: 155.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001325/3.247, allocations: 0.8629 MB / 1.502 GB, free: 155.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002454/3.248, allocations: 0.8794 MB / 1.503 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/3.248, allocations: 3.938 kB / 1.503 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/3.248, allocations: 3.875 kB / 1.503 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/3.248, allocations: 95.72 kB / 1.503 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/3.248, allocations: 3.875 kB / 1.503 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006359/3.249, allocations: 75.03 kB / 1.503 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.142e-05/3.249, allocations: 29.91 kB / 1.503 GB, free: 154.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.216e-06/3.249, allocations: 3.938 kB / 1.503 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001297/3.25, allocations: 0.8321 MB / 1.504 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/3.25, allocations: 6.016 kB / 1.504 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.192e-06/3.25, allocations: 3.781 kB / 1.504 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/3.251, allocations: 86.09 kB / 1.504 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/3.251, allocations: 8 kB / 1.504 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005335/3.251, allocations: 68.5 kB / 1.504 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/3.251, allocations: 30.02 kB / 1.504 GB, free: 154.7 MB / 0.698 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.000203/3.251, allocations: 210.7 kB / 1.504 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001044/3.252, allocations: 0.6652 MB / 1.505 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/3.253, allocations: 87 kB / 1.505 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/3.254, allocations: 0.7783 MB / 1.506 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/3.254, allocations: 6.312 kB / 1.506 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/3.254, allocations: 3.281 kB / 1.506 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009686/3.255, allocations: 0.866 MB / 1.507 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/3.258, allocations: 1.86 MB / 1.508 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/3.258, allocations: 3.688 kB / 1.508 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/3.258, allocations: 71.64 kB / 1.508 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/3.258, allocations: 6.328 kB / 1.508 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/3.258, allocations: 14.53 kB / 1.508 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/3.258, allocations: 3.969 kB / 1.509 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/3.258, allocations: 3.75 kB / 1.509 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/3.26, allocations: 1.354 MB / 1.51 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003888/3.26, allocations: 284.1 kB / 1.51 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/3.26, allocations: 6.969 kB / 1.51 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004526/3.261, allocations: 37.5 kB / 1.51 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/3.261, allocations: 54.75 kB / 1.51 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/3.261, allocations: 20.53 kB / 1.51 GB, free: 152.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000777/3.262, allocations: 0.6141 MB / 1.511 GB, free: 152.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/3.262, allocations: 0 / 1.511 GB, free: 152.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001663/3.263, allocations: 0.5914 MB / 1.511 GB, free: 152.7 MB / 0.698 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.003171/3.267, allocations: 3.059 MB / 1.514 GB, free: 151.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001687/3.268, allocations: 1.839 MB / 1.516 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/3.268, allocations: 0 / 1.516 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004711/3.269, allocations: 0.5209 MB / 1.517 GB, free: 150.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/3.271, allocations: 405.3 kB / 1.517 GB, free: 150.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/3.274, allocations: 1.742 MB / 1.519 GB, free: 149.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/3.275, allocations: 1.088 MB / 1.52 GB, free: 149 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001014/3.276, allocations: 285.3 kB / 1.52 GB, free: 149 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/3.276, allocations: 361 kB / 1.52 GB, free: 149 MB / 0.698 GB Notification: Performance of SimCode: time 1.463e-06/3.276, allocations: 0 / 1.52 GB, free: 149 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05669/3.333, allocations: 30.4 MB / 1.55 GB, free: 147.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/3.333, allocations: 206.3 kB / 1.55 GB, free: 147.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.923/6.256, allocations: 0 / 1.55 GB, free: 147.6 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)