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.001038/0.001038, allocations: 175.2 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.7169/0.7169, 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.611/1.611, allocations: 221.3 MB / 400.4 MB, free: 5.844 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.0009653/0.0009654, allocations: 82.09 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.525e-05, allocations: 3.656 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1633, allocations: 82.31 MB / 0.6405 GB, free: 7.699 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.38/1.543, allocations: 386.3 MB / 1.018 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/1.544, allocations: 104.8 kB / 1.018 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.195/2.739, allocations: 367.8 MB / 1.377 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.244e-06/2.739, allocations: 0 / 1.377 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000183/2.739, allocations: 27.12 kB / 1.377 GB, free: 121.7 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.003398/2.742, allocations: 1.436 MB / 1.379 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/2.742, allocations: 8.031 kB / 1.379 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003162/2.743, allocations: 106.5 kB / 1.379 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006404/2.743, allocations: 142.4 kB / 1.379 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002852/2.746, allocations: 1.172 MB / 1.38 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.691e-05/2.746, allocations: 49.31 kB / 1.38 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/2.746, allocations: 64 kB / 1.38 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/2.748, allocations: 0.7694 MB / 1.381 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/2.748, allocations: 7.938 kB / 1.381 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.215e-05/2.748, allocations: 28 kB / 1.381 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/2.748, allocations: 16 kB / 1.381 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/2.749, allocations: 0.5752 MB / 1.381 GB, free: 117.2 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.004706/2.754, allocations: 3.104 MB / 1.384 GB, free: 114 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007174/2.755, allocations: 440.8 kB / 1.385 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003795/2.755, allocations: 289 kB / 1.385 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007793/2.756, allocations: 0.77 MB / 1.386 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/2.756, allocations: 38.84 kB / 1.386 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=37): time 3.737e-06/2.756, allocations: 0 / 1.386 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37): time 0.001462/2.757, allocations: 0.7137 MB / 1.387 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/2.757, allocations: 144.7 kB / 1.387 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/2.759, allocations: 0.9652 MB / 1.388 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.412e-05/2.759, allocations: 41.64 kB / 1.388 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004106/2.76, allocations: 478.5 kB / 1.388 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/2.76, allocations: 125.3 kB / 1.388 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/2.76, allocations: 12 kB / 1.388 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001106/2.76, allocations: 322 kB / 1.389 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004083/2.76, allocations: 316.9 kB / 1.389 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/2.761, allocations: 428.1 kB / 1.389 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005706/2.762, allocations: 0.5032 MB / 1.39 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/2.762, allocations: 0 / 1.39 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001422/2.763, allocations: 1.041 MB / 1.391 GB, free: 107 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000245/2.763, allocations: 0.8808 MB / 1.392 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/2.763, allocations: 4 kB / 1.392 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/2.763, allocations: 4 kB / 1.392 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/2.764, allocations: 91.88 kB / 1.392 GB, free: 106 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/2.764, allocations: 7.938 kB / 1.392 GB, free: 106 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008364/2.765, allocations: 103.2 kB / 1.392 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.918e-05/2.765, allocations: 27.98 kB / 1.392 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/2.765, allocations: 4 kB / 1.392 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001187/2.766, allocations: 1.037 MB / 1.393 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/2.766, allocations: 3.953 kB / 1.393 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/2.766, allocations: 4 kB / 1.393 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/2.766, allocations: 87.88 kB / 1.393 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/2.766, allocations: 4 kB / 1.393 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007334/2.767, allocations: 103.5 kB / 1.393 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.417e-05/2.767, allocations: 27.98 kB / 1.393 GB, free: 104.5 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.0001887/2.767, allocations: 222 kB / 1.393 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/2.767, allocations: 106.7 kB / 1.393 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/2.769, allocations: 0.8713 MB / 1.394 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/2.769, allocations: 11.98 kB / 1.394 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/2.769, allocations: 0 / 1.394 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000852/2.77, allocations: 0.9447 MB / 1.395 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/2.772, allocations: 2.075 MB / 1.397 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/2.773, allocations: 4 kB / 1.397 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/2.773, allocations: 67.91 kB / 1.397 GB, free: 99.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/2.773, allocations: 4 kB / 1.397 GB, free: 99.99 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.474e-05/2.773, allocations: 20.23 kB / 1.397 GB, free: 99.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/2.773, allocations: 4 kB / 1.397 GB, free: 99.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/2.773, allocations: 3.938 kB / 1.397 GB, free: 99.96 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/2.774, allocations: 1.465 MB / 1.399 GB, free: 98.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005564/2.775, allocations: 299.5 kB / 1.399 GB, free: 98.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/2.775, allocations: 12 kB / 1.399 GB, free: 98.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006149/2.776, allocations: 48.03 kB / 1.399 GB, free: 98.03 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/2.776, allocations: 51.88 kB / 1.399 GB, free: 97.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/2.776, allocations: 20 kB / 1.399 GB, free: 97.96 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001056/2.777, allocations: 0.7776 MB / 1.4 GB, free: 97.17 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.81e-07/2.777, allocations: 0 / 1.4 GB, free: 97.17 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002062/2.779, allocations: 0.5888 MB / 1.401 GB, free: 96.58 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.003505/2.783, allocations: 3.174 MB / 1.404 GB, free: 93.37 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001825/2.785, allocations: 1.894 MB / 1.406 GB, free: 91.33 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/2.785, allocations: 0 / 1.406 GB, free: 91.33 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005114/2.785, allocations: 0.5265 MB / 1.406 GB, free: 90.77 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/2.787, allocations: 0.5081 MB / 1.407 GB, free: 90.27 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003733/2.791, allocations: 1.808 MB / 1.408 GB, free: 88.39 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/2.792, allocations: 1.089 MB / 1.409 GB, free: 87.27 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001307/2.793, allocations: 319.7 kB / 1.41 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/2.794, allocations: 363.2 kB / 1.41 GB, free: 86.6 MB / 0.6823 GB Notification: Performance of SimCode: time 8.31e-07/2.794, allocations: 0 / 1.41 GB, free: 86.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05884/2.852, allocations: 38.56 MB / 1.448 GB, free: 48.42 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/2.853, allocations: 220.9 kB / 1.448 GB, free: 48.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.27/6.122, allocations: 0 / 1.448 GB, free: 48.18 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)