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.001217/0.001217, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.804/0.804, allocations: 133.6 MB / 141.6 MB, free: 2.922 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.001041/0.00104, allocations: 92.25 kB / 478.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.412e-05/2.415e-05, allocations: 4 kB / 0.5536 GB, free: 8.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5336/0.5337, allocations: 82.3 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8501/1.384, allocations: 385.7 MB / 1.011 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/1.384, allocations: 108.5 kB / 1.011 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.643/3.028, allocations: 366.1 MB / 1.368 GB, free: 144.4 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.764e-06/3.028, allocations: 0 / 1.368 GB, free: 144.4 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001161/3.028, allocations: 29.84 kB / 1.368 GB, free: 144.4 MB / 0.6667 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.00272/3.031, allocations: 1.433 MB / 1.37 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/3.031, allocations: 10.31 kB / 1.37 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004391/3.031, allocations: 138.8 kB / 1.37 GB, free: 143.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002653/3.034, allocations: 1.169 MB / 1.371 GB, free: 143.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/3.034, allocations: 21.97 kB / 1.371 GB, free: 143.2 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.873e-05/3.034, allocations: 45.39 kB / 1.371 GB, free: 143.2 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008408/3.035, allocations: 0.5286 MB / 1.371 GB, free: 143.2 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009814/3.036, allocations: 0.6891 MB / 1.372 GB, free: 143.1 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/3.036, allocations: 1.875 kB / 1.372 GB, free: 143.1 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.338e-05/3.036, allocations: 3.812 kB / 1.372 GB, free: 143.1 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/3.036, allocations: 15.38 kB / 1.372 GB, free: 143.1 MB / 0.6667 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.00392/3.04, allocations: 2.962 MB / 1.375 GB, free: 142.1 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005668/3.04, allocations: 404.8 kB / 1.375 GB, free: 142.1 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/3.041, allocations: 278.2 kB / 1.376 GB, free: 142.1 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006846/3.041, allocations: 0.7625 MB / 1.376 GB, free: 141.2 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/3.041, allocations: 37.25 kB / 1.376 GB, free: 141.2 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=37): time 2.725e-06/3.041, allocations: 0 / 1.376 GB, free: 141.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37): time 0.001269/3.043, allocations: 0.6482 MB / 1.377 GB, free: 141.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/3.043, allocations: 136.4 kB / 1.377 GB, free: 141 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/3.044, allocations: 0.8001 MB / 1.378 GB, free: 140.8 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.387e-05/3.044, allocations: 29.64 kB / 1.378 GB, free: 140.8 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/3.044, allocations: 491.8 kB / 1.379 GB, free: 140.6 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/3.044, allocations: 128.3 kB / 1.379 GB, free: 140.5 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/3.044, allocations: 0 / 1.379 GB, free: 140.5 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.574e-05/3.044, allocations: 327.6 kB / 1.379 GB, free: 140.2 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/3.045, allocations: 303 kB / 1.379 GB, free: 140.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/3.045, allocations: 419.2 kB / 1.38 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007555/3.046, allocations: 381.4 kB / 1.38 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/3.046, allocations: 3.188 kB / 1.38 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001455/3.047, allocations: 0.8577 MB / 1.381 GB, free: 140 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002266/3.048, allocations: 0.8848 MB / 1.382 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/3.048, allocations: 6.719 kB / 1.382 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/3.048, allocations: 3.938 kB / 1.382 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/3.048, allocations: 85.61 kB / 1.382 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/3.048, allocations: 3.125 kB / 1.382 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007062/3.049, allocations: 86.16 kB / 1.382 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.356e-05/3.049, allocations: 26.09 kB / 1.382 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/3.049, allocations: 7.562 kB / 1.382 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001339/3.05, allocations: 0.8236 MB / 1.383 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/3.05, allocations: 6.781 kB / 1.383 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/3.05, allocations: 3.938 kB / 1.383 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/3.051, allocations: 84.41 kB / 1.383 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/3.051, allocations: 10.53 kB / 1.383 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006262/3.051, allocations: 75.42 kB / 1.383 GB, free: 139.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.978e-05/3.051, allocations: 28.09 kB / 1.383 GB, free: 139.1 MB / 0.6667 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.0002046/3.051, allocations: 212.2 kB / 1.383 GB, free: 138.9 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001093/3.053, allocations: 0.6618 MB / 1.384 GB, free: 138.8 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/3.053, allocations: 91.75 kB / 1.384 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/3.054, allocations: 0.7704 MB / 1.385 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/3.054, allocations: 14.34 kB / 1.385 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/3.054, allocations: 0 / 1.385 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009709/3.055, allocations: 0.8586 MB / 1.385 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/3.058, allocations: 1.872 MB / 1.387 GB, free: 137.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/3.058, allocations: 7.156 kB / 1.387 GB, free: 137.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/3.058, allocations: 69.03 kB / 1.387 GB, free: 137.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/3.058, allocations: 3.938 kB / 1.387 GB, free: 137.9 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/3.058, allocations: 7.812 kB / 1.387 GB, free: 137.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/3.058, allocations: 7.125 kB / 1.387 GB, free: 137.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/3.058, allocations: 0 / 1.387 GB, free: 137.9 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/3.06, allocations: 1.349 MB / 1.389 GB, free: 137.5 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004059/3.06, allocations: 269.8 kB / 1.389 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/3.061, allocations: 12.95 kB / 1.389 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/3.061, allocations: 39.95 kB / 1.389 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/3.061, allocations: 53.75 kB / 1.389 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/3.061, allocations: 23.61 kB / 1.389 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007654/3.062, allocations: 0.615 MB / 1.39 GB, free: 137.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.41e-07/3.062, allocations: 0 / 1.39 GB, free: 137.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001692/3.064, allocations: 0.5862 MB / 1.39 GB, free: 137.1 MB / 0.6667 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.003202/3.067, allocations: 3.051 MB / 1.393 GB, free: 135.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001723/3.069, allocations: 1.841 MB / 1.395 GB, free: 134.8 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/3.069, allocations: 2.906 kB / 1.395 GB, free: 134.8 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005068/3.069, allocations: 0.5186 MB / 1.396 GB, free: 134.6 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/3.071, allocations: 401.5 kB / 1.396 GB, free: 134.6 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/3.075, allocations: 1.741 MB / 1.398 GB, free: 134.1 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/3.075, allocations: 1.092 MB / 1.399 GB, free: 133.4 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001046/3.076, allocations: 283.9 kB / 1.399 GB, free: 133.4 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003934/3.077, allocations: 361.9 kB / 1.399 GB, free: 133.4 MB / 0.6667 GB Notification: Performance of SimCode: time 9.71e-07/3.077, allocations: 0 / 1.399 GB, free: 133.4 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06263/3.139, allocations: 30.18 MB / 1.429 GB, free: 128.1 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002815/3.14, allocations: 198.2 kB / 1.429 GB, free: 127.9 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.076/6.216, allocations: 4 kB / 1.429 GB, free: 127.9 MB / 0.6667 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)