Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="IDEAS_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.001084/0.001084, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.726/0.726, allocations: 133.4 MB / 146.7 MB, free: 10.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.587/1.587, allocations: 221.3 MB / 400.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009251/0.0009255, allocations: 90.78 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.361e-05/4.371e-05, allocations: 4.281 kB / 0.5601 GB, free: 87.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1877, allocations: 82.31 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.375/1.562, allocations: 386.3 MB / 1.018 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/1.563, allocations: 104.3 kB / 1.018 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.189/2.751, allocations: 367.8 MB / 1.377 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.303e-06/2.751, allocations: 0 / 1.377 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001796/2.752, allocations: 25.95 kB / 1.377 GB, free: 121.8 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.003382/2.755, allocations: 1.44 MB / 1.379 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/2.755, allocations: 8.031 kB / 1.379 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000288/2.755, allocations: 106.5 kB / 1.379 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005773/2.756, allocations: 130.5 kB / 1.379 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002646/2.759, allocations: 1.173 MB / 1.38 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.751e-05/2.759, allocations: 49.31 kB / 1.38 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/2.759, allocations: 71.98 kB / 1.38 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/2.76, allocations: 0.7708 MB / 1.381 GB, free: 118 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/2.76, allocations: 0 / 1.381 GB, free: 118 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-05/2.76, allocations: 30.19 kB / 1.381 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/2.76, allocations: 19.98 kB / 1.381 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009986/2.761, allocations: 0.5713 MB / 1.381 GB, free: 117.3 MB / 0.6823 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.004344/2.766, allocations: 3.112 MB / 1.384 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006283/2.766, allocations: 431.3 kB / 1.385 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003645/2.767, allocations: 293 kB / 1.385 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006917/2.767, allocations: 0.7677 MB / 1.386 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/2.768, allocations: 42.84 kB / 1.386 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=37): time 2.144e-06/2.768, allocations: 0 / 1.386 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37): time 0.001089/2.769, allocations: 0.7098 MB / 1.387 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/2.769, allocations: 144.7 kB / 1.387 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/2.77, allocations: 0.9652 MB / 1.388 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.965e-05/2.77, allocations: 37.64 kB / 1.388 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000311/2.77, allocations: 479.2 kB / 1.388 GB, free: 110 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.862e-05/2.77, allocations: 129.5 kB / 1.388 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/2.77, allocations: 8 kB / 1.388 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.184e-05/2.771, allocations: 329.9 kB / 1.389 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/2.771, allocations: 312.9 kB / 1.389 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/2.771, allocations: 424.2 kB / 1.389 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/2.772, allocations: 0.5149 MB / 1.39 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/2.772, allocations: 0 / 1.39 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001163/2.773, allocations: 1.033 MB / 1.391 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002172/2.773, allocations: 0.8834 MB / 1.392 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/2.773, allocations: 0 / 1.392 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/2.773, allocations: 4 kB / 1.392 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/2.774, allocations: 91.88 kB / 1.392 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/2.774, allocations: 4 kB / 1.392 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006619/2.774, allocations: 111.2 kB / 1.392 GB, free: 106 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.681e-05/2.774, allocations: 27.98 kB / 1.392 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/2.774, allocations: 5.094 kB / 1.392 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001038/2.775, allocations: 1.033 MB / 1.393 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/2.775, allocations: 3.953 kB / 1.393 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-06/2.775, allocations: 4 kB / 1.393 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/2.776, allocations: 96.09 kB / 1.393 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/2.776, allocations: 7.938 kB / 1.393 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005071/2.776, allocations: 99.27 kB / 1.393 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.167e-05/2.776, allocations: 31.98 kB / 1.393 GB, free: 104.6 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 () * 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.0001732/2.777, allocations: 214 kB / 1.393 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/2.777, allocations: 106.7 kB / 1.393 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/2.778, allocations: 0.8674 MB / 1.394 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/2.778, allocations: 7.984 kB / 1.394 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/2.778, allocations: 0 / 1.394 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008183/2.779, allocations: 0.9408 MB / 1.395 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/2.781, allocations: 2.078 MB / 1.397 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/2.781, allocations: 4 kB / 1.397 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/2.781, allocations: 64.16 kB / 1.397 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/2.781, allocations: 4 kB / 1.397 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/2.781, allocations: 19.98 kB / 1.397 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/2.781, allocations: 4 kB / 1.397 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/2.781, allocations: 15.88 kB / 1.397 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/2.783, allocations: 1.461 MB / 1.399 GB, free: 98.52 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/2.783, allocations: 295.5 kB / 1.399 GB, free: 98.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/2.783, allocations: 12 kB / 1.399 GB, free: 98.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004696/2.784, allocations: 48.03 kB / 1.399 GB, free: 98.15 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/2.784, allocations: 55.83 kB / 1.399 GB, free: 98.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.079e-05/2.784, allocations: 19.98 kB / 1.399 GB, free: 98.08 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008576/2.785, allocations: 0.7737 MB / 1.4 GB, free: 97.29 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.01e-07/2.785, allocations: 0 / 1.4 GB, free: 97.29 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001481/2.786, allocations: 0.5962 MB / 1.401 GB, free: 96.7 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) * 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.00274/2.789, allocations: 3.172 MB / 1.404 GB, free: 93.49 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001568/2.791, allocations: 1.898 MB / 1.406 GB, free: 91.45 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/2.791, allocations: 0 / 1.406 GB, free: 91.45 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004318/2.791, allocations: 0.5304 MB / 1.406 GB, free: 90.88 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/2.793, allocations: 0.4972 MB / 1.407 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/2.796, allocations: 1.804 MB / 1.408 GB, free: 88.51 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006254/2.797, allocations: 1.097 MB / 1.409 GB, free: 87.39 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001106/2.798, allocations: 311.7 kB / 1.41 GB, free: 87.08 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004394/2.798, allocations: 363.3 kB / 1.41 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of SimCode: time 8.12e-07/2.798, allocations: 0 / 1.41 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05531/2.853, allocations: 38.56 MB / 1.448 GB, free: 48.53 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/2.854, allocations: 206.8 kB / 1.448 GB, free: 48.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.337/6.191, allocations: 0 / 1.448 GB, free: 48.3 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)