Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="IDEAS_dev_IDEAS_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.009033/0.009033, allocations: 169.6 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8378/0.8378, allocations: 135.2 MB / 151 MB, free: 13.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.2 MB / 406.8 MB, free: 3.156 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.001081/0.001081, allocations: 100.1 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004117, allocations: 8 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4317, allocations: 82.31 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8481/1.28, allocations: 386.4 MB / 1.027 GB, free: 3.406 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/1.28, allocations: 107.2 kB / 1.027 GB, free: 3.348 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.56/2.84, allocations: 369 MB / 1.387 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.705e-06/2.84, allocations: 0 / 1.387 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001097/2.84, allocations: 24.66 kB / 1.387 GB, free: 155.4 MB / 0.6823 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.002875/2.843, allocations: 1.655 MB / 1.389 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/2.843, allocations: 7.812 kB / 1.389 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000128/2.843, allocations: 118.3 kB / 1.389 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002575/2.844, allocations: 129.9 kB / 1.389 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/2.846, allocations: 1.178 MB / 1.39 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.487e-05/2.846, allocations: 51.91 kB / 1.39 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/2.846, allocations: 76.98 kB / 1.39 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/2.847, allocations: 0.7984 MB / 1.391 GB, free: 154 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/2.847, allocations: 0 / 1.391 GB, free: 154 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/2.847, allocations: 24.81 kB / 1.391 GB, free: 154 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/2.847, allocations: 17.78 kB / 1.391 GB, free: 154 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009699/2.848, allocations: 0.6157 MB / 1.392 GB, free: 154 MB / 0.6823 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.00375/2.852, allocations: 3.112 MB / 1.395 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006622/2.853, allocations: 450.5 kB / 1.395 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000635/2.853, allocations: 0.7722 MB / 1.396 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/2.853, allocations: 36.69 kB / 1.396 GB, free: 152 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=37): time 2.225e-06/2.853, allocations: 0 / 1.396 GB, free: 152 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37): time 0.001639/2.855, allocations: 1.251 MB / 1.397 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/2.855, allocations: 142.6 kB / 1.398 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/2.856, allocations: 0.9804 MB / 1.398 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.645e-05/2.856, allocations: 33.05 kB / 1.399 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/2.857, allocations: 479.5 kB / 1.399 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/2.857, allocations: 125.6 kB / 1.399 GB, free: 151 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/2.857, allocations: 12.06 kB / 1.399 GB, free: 151 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.904e-05/2.857, allocations: 320.6 kB / 1.399 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004816/2.857, allocations: 338.4 kB / 1.4 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/2.858, allocations: 450.3 kB / 1.4 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005635/2.858, allocations: 0.5326 MB / 1.401 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/2.858, allocations: 0 / 1.401 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001356/2.86, allocations: 1.077 MB / 1.402 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000293/2.86, allocations: 0.8831 MB / 1.403 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/2.86, allocations: 0 / 1.403 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/2.86, allocations: 6.312 kB / 1.403 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/2.861, allocations: 89.25 kB / 1.403 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/2.861, allocations: 3.969 kB / 1.403 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006971/2.861, allocations: 111.1 kB / 1.403 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/2.861, allocations: 23.66 kB / 1.403 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/2.861, allocations: 3.312 kB / 1.403 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001316/2.863, allocations: 1.071 MB / 1.404 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/2.863, allocations: 0 / 1.404 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-06/2.863, allocations: 6.75 kB / 1.404 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/2.863, allocations: 92.97 kB / 1.404 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/2.863, allocations: 7.922 kB / 1.404 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005177/2.864, allocations: 92.14 kB / 1.404 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.503e-05/2.864, allocations: 25.03 kB / 1.404 GB, free: 148.9 MB / 0.6823 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 () * Number of clocked 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.0005384/2.864, allocations: 485.9 kB / 1.405 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/2.864, allocations: 107.3 kB / 1.405 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/2.866, allocations: 0.9113 MB / 1.406 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/2.866, allocations: 6.594 kB / 1.406 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/2.866, allocations: 3.953 kB / 1.406 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000964/2.867, allocations: 0.9822 MB / 1.407 GB, free: 148 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002803/2.869, allocations: 2.119 MB / 1.409 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/2.869, allocations: 0 / 1.409 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/2.87, allocations: 65.77 kB / 1.409 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/2.87, allocations: 3.688 kB / 1.409 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/2.87, allocations: 24.44 kB / 1.409 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/2.87, allocations: 3.906 kB / 1.409 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/2.87, allocations: 7.062 kB / 1.409 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/2.872, allocations: 1.533 MB / 1.41 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000407/2.872, allocations: 289.9 kB / 1.41 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/2.872, allocations: 18.59 kB / 1.41 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004917/2.873, allocations: 52.48 kB / 1.411 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/2.873, allocations: 50.83 kB / 1.411 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.433e-05/2.873, allocations: 22.17 kB / 1.411 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001023/2.874, allocations: 0.7796 MB / 1.411 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/2.874, allocations: 2.844 kB / 1.411 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001787/2.876, allocations: 0.5837 MB / 1.412 GB, free: 146.6 MB / 0.6823 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) * Number of clocked states: 0 () * 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.003628/2.879, allocations: 3.247 MB / 1.415 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002102/2.881, allocations: 1.932 MB / 1.417 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/2.881, allocations: 0 / 1.417 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005767/2.882, allocations: 0.5446 MB / 1.418 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/2.884, allocations: 0.4995 MB / 1.418 GB, free: 143 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/2.888, allocations: 3.983 MB / 1.422 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/2.889, allocations: 1.092 MB / 1.423 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000828/2.89, allocations: 206.7 kB / 1.423 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004594/2.89, allocations: 374.6 kB / 1.424 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of SimCode: time 8.72e-07/2.89, allocations: 0 / 1.424 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06152/2.952, allocations: 36.19 MB / 1.459 GB, free: 121 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/2.952, allocations: 233.6 kB / 1.459 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.172/6.124, allocations: 3.172 kB / 1.459 GB, free: 120.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)