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.008603/0.008603, allocations: 170.3 kB / 15.11 MB, free: 6.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7801/0.7801, allocations: 135.2 MB / 151 MB, free: 13.86 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.449/1.449, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.0009325/0.0009326, allocations: 93.69 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004356/0.0004358, allocations: 8 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4912/0.4916, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9205/1.412, allocations: 386.4 MB / 1.027 GB, free: 3.387 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005007/1.413, allocations: 112 kB / 1.027 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.749/3.162, allocations: 369 MB / 1.387 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.334e-06/3.162, allocations: 0 / 1.387 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001066/3.162, allocations: 22.38 kB / 1.387 GB, free: 155.2 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.00284/3.165, allocations: 1.66 MB / 1.389 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/3.165, allocations: 7.5 kB / 1.389 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/3.165, allocations: 107.8 kB / 1.389 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/3.165, allocations: 130.6 kB / 1.389 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/3.167, allocations: 1.18 MB / 1.39 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/3.167, allocations: 52.06 kB / 1.39 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.824e-05/3.167, allocations: 69.16 kB / 1.39 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/3.168, allocations: 0.8005 MB / 1.391 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/3.168, allocations: 3.891 kB / 1.391 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.17e-05/3.169, allocations: 26.62 kB / 1.391 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/3.169, allocations: 18.94 kB / 1.391 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009095/3.169, allocations: 0.6103 MB / 1.392 GB, free: 153.8 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.003463/3.173, allocations: 3.118 MB / 1.395 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006436/3.174, allocations: 447 kB / 1.395 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000615/3.174, allocations: 0.7682 MB / 1.396 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/3.174, allocations: 41.41 kB / 1.396 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=37): time 1.663e-06/3.174, allocations: 0 / 1.396 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37): time 0.001526/3.176, allocations: 1.256 MB / 1.397 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/3.176, allocations: 140.1 kB / 1.398 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/3.177, allocations: 0.9811 MB / 1.398 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/3.177, allocations: 32.77 kB / 1.399 GB, free: 151 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/3.177, allocations: 476.5 kB / 1.399 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/3.178, allocations: 132 kB / 1.399 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/3.178, allocations: 6.156 kB / 1.399 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.8e-05/3.178, allocations: 321.7 kB / 1.399 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004438/3.178, allocations: 336.7 kB / 1.4 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005082/3.179, allocations: 452.1 kB / 1.4 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005489/3.179, allocations: 0.5281 MB / 1.401 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/3.179, allocations: 3.172 kB / 1.401 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001291/3.181, allocations: 1.082 MB / 1.402 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002684/3.181, allocations: 0.8762 MB / 1.403 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/3.181, allocations: 0 / 1.403 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/3.181, allocations: 6.562 kB / 1.403 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/3.181, allocations: 88.56 kB / 1.403 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/3.181, allocations: 7 kB / 1.403 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007011/3.182, allocations: 110.4 kB / 1.403 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.166e-05/3.182, allocations: 25.67 kB / 1.403 GB, free: 149 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/3.182, allocations: 3.75 kB / 1.403 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001237/3.183, allocations: 1.075 MB / 1.404 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/3.183, allocations: 0 / 1.404 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-06/3.183, allocations: 3.875 kB / 1.404 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/3.184, allocations: 87.66 kB / 1.404 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/3.184, allocations: 8.359 kB / 1.404 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000543/3.184, allocations: 96.69 kB / 1.404 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.246e-05/3.184, allocations: 25.84 kB / 1.404 GB, free: 148.7 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.0005546/3.185, allocations: 476.6 kB / 1.405 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/3.185, allocations: 101.5 kB / 1.405 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/3.186, allocations: 0.9108 MB / 1.406 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/3.186, allocations: 3.844 kB / 1.406 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/3.186, allocations: 10.61 kB / 1.406 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009447/3.187, allocations: 0.9794 MB / 1.406 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/3.19, allocations: 2.125 MB / 1.409 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/3.19, allocations: 3.906 kB / 1.409 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/3.19, allocations: 65.2 kB / 1.409 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/3.19, allocations: 3.688 kB / 1.409 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/3.19, allocations: 16.75 kB / 1.409 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/3.19, allocations: 3.844 kB / 1.409 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/3.19, allocations: 3.906 kB / 1.409 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/3.192, allocations: 1.539 MB / 1.41 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004056/3.192, allocations: 293.1 kB / 1.41 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/3.192, allocations: 14.41 kB / 1.41 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004972/3.193, allocations: 52.17 kB / 1.411 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/3.193, allocations: 53.97 kB / 1.411 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/3.193, allocations: 23.61 kB / 1.411 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009372/3.194, allocations: 0.7822 MB / 1.411 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/3.194, allocations: 0 / 1.411 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001638/3.196, allocations: 0.579 MB / 1.412 GB, free: 146.4 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.003187/3.199, allocations: 3.244 MB / 1.415 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001852/3.201, allocations: 1.935 MB / 1.417 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/3.201, allocations: 0 / 1.417 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005444/3.201, allocations: 0.5489 MB / 1.418 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/3.203, allocations: 0.4961 MB / 1.418 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/3.207, allocations: 3.984 MB / 1.422 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/3.208, allocations: 1.093 MB / 1.423 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007295/3.209, allocations: 208.8 kB / 1.423 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004224/3.209, allocations: 375 kB / 1.424 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.533e-06/3.209, allocations: 3.969 kB / 1.424 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05756/3.267, 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.0001689/3.267, allocations: 237 kB / 1.459 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.157/6.424, allocations: 4.438 kB / 1.459 GB, free: 120.7 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)