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.681/0.681, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009516/0.0009517, allocations: 185.9 kB / 187.3 MB, free: 11.89 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.174/1.174, allocations: 221.3 MB / 441.4 MB, free: 4.621 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.0007643/0.0007642, allocations: 91.89 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001629/0.001629, allocations: 280.2 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.73e-05/2.733e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.329, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6031/0.9322, allocations: 383.8 MB / 1.139 GB, free: 6.594 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.9325, allocations: 101.5 kB / 1.139 GB, free: 6.539 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.225/2.157, allocations: 367.9 MB / 1.499 GB, free: 156.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.422e-06/2.157, allocations: 0 / 1.499 GB, free: 156.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.819e-05/2.158, allocations: 23.81 kB / 1.499 GB, free: 156.3 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.001918/2.159, allocations: 1.449 MB / 1.5 GB, free: 155.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/2.16, allocations: 10.72 kB / 1.5 GB, free: 155.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/2.16, allocations: 104.3 kB / 1.5 GB, free: 155.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002512/2.16, allocations: 133.6 kB / 1.5 GB, free: 155.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/2.162, allocations: 1.169 MB / 1.501 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/2.162, allocations: 54.78 kB / 1.501 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.233e-05/2.162, allocations: 67.91 kB / 1.501 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009979/2.163, allocations: 0.78 MB / 1.502 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/2.163, allocations: 0 / 1.502 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.489e-05/2.163, allocations: 25.09 kB / 1.502 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/2.163, allocations: 13.75 kB / 1.502 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007555/2.164, allocations: 0.5677 MB / 1.503 GB, free: 155.1 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.002975/2.167, allocations: 3.117 MB / 1.506 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005882/2.167, allocations: 436.5 kB / 1.506 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/2.168, allocations: 283.6 kB / 1.507 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005208/2.168, allocations: 0.7676 MB / 1.507 GB, free: 153.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/2.168, allocations: 42.53 kB / 1.507 GB, free: 153.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 1.633e-06/2.168, allocations: 2.594 kB / 1.507 GB, free: 153.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001081/2.169, allocations: 0.7102 MB / 1.508 GB, free: 152.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/2.169, allocations: 143.1 kB / 1.508 GB, free: 152.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/2.171, allocations: 0.9611 MB / 1.509 GB, free: 152.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/2.171, allocations: 33.42 kB / 1.509 GB, free: 152.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/2.171, allocations: 486.5 kB / 1.51 GB, free: 152.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.631e-05/2.171, allocations: 127.8 kB / 1.51 GB, free: 152.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/2.171, allocations: 9.906 kB / 1.51 GB, free: 152.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.736e-05/2.171, allocations: 326 kB / 1.51 GB, free: 152.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/2.171, allocations: 313.6 kB / 1.51 GB, free: 152.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/2.172, allocations: 427.7 kB / 1.511 GB, free: 152 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005413/2.172, allocations: 0.5104 MB / 1.511 GB, free: 151.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/2.172, allocations: 1.094 kB / 1.511 GB, free: 151.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001142/2.174, allocations: 1.045 MB / 1.512 GB, free: 151.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001681/2.174, allocations: 0.8857 MB / 1.513 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/2.174, allocations: 3.875 kB / 1.513 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/2.174, allocations: 3.875 kB / 1.513 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/2.174, allocations: 84.69 kB / 1.513 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/2.174, allocations: 10 kB / 1.513 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005615/2.175, allocations: 101.5 kB / 1.513 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-05/2.175, allocations: 29.95 kB / 1.513 GB, free: 150.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/2.175, allocations: 3.969 kB / 1.513 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001/2.176, allocations: 1.033 MB / 1.514 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/2.176, allocations: 0 / 1.514 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.609e-06/2.176, allocations: 4.406 kB / 1.514 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/2.176, allocations: 92.58 kB / 1.514 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/2.176, allocations: 10.22 kB / 1.514 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/2.177, allocations: 95.38 kB / 1.515 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/2.177, allocations: 31.12 kB / 1.515 GB, free: 150.3 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.0001229/2.177, allocations: 224.3 kB / 1.515 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/2.177, allocations: 103.7 kB / 1.515 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/2.178, allocations: 0.88 MB / 1.516 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/2.178, allocations: 3.312 kB / 1.516 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/2.178, allocations: 2.844 kB / 1.516 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007413/2.179, allocations: 0.9481 MB / 1.517 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/2.181, allocations: 2.063 MB / 1.519 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/2.181, allocations: 2.156 kB / 1.519 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/2.181, allocations: 72.09 kB / 1.519 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/2.181, allocations: 6.453 kB / 1.519 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/2.181, allocations: 17.66 kB / 1.519 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/2.181, allocations: 7.125 kB / 1.519 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/2.181, allocations: 0 / 1.519 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/2.183, allocations: 1.47 MB / 1.52 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/2.183, allocations: 296.2 kB / 1.521 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/2.183, allocations: 13 kB / 1.521 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004536/2.183, allocations: 48.55 kB / 1.521 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/2.184, allocations: 55.81 kB / 1.521 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/2.184, allocations: 21.81 kB / 1.521 GB, free: 148.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007607/2.184, allocations: 0.7714 MB / 1.521 GB, free: 148.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/2.184, allocations: 0 / 1.521 GB, free: 148.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001219/2.186, allocations: 0.5847 MB / 1.522 GB, free: 148.1 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.002356/2.188, allocations: 3.205 MB / 1.525 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001444/2.189, allocations: 1.886 MB / 1.527 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/2.189, allocations: 0 / 1.527 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000421/2.19, allocations: 0.5262 MB / 1.527 GB, free: 145.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/2.192, allocations: 0.4975 MB / 1.528 GB, free: 145.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/2.194, allocations: 1.808 MB / 1.53 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/2.194, allocations: 1.089 MB / 1.531 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008836/2.195, allocations: 324.1 kB / 1.531 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/2.196, allocations: 367.4 kB / 1.531 GB, free: 144.2 MB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/2.196, allocations: 0 / 1.531 GB, free: 144.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05126/2.247, allocations: 38.81 MB / 1.569 GB, free: 142.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/2.247, allocations: 226.8 kB / 1.57 GB, free: 142.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.958/5.205, allocations: 2.344 kB / 1.57 GB, free: 142.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)