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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007637/0.0007637, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008526/0.0008526, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7289/0.7289, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003147, allocations: 8.219 kB / 0.5035 GB, free: 4.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4057, allocations: 81.57 MB / 0.5832 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03557/0.4414, allocations: 38.66 MB / 0.6209 GB, free: 6.992 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.4531, allocations: 8.277 MB / 0.629 GB, free: 300 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001637/0.4547, allocations: 36.56 kB / 0.629 GB, free: 284 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.4564, allocations: 410.8 kB / 0.6294 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003262/0.4597, allocations: 0.9918 MB / 0.6304 GB, free: 15.15 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002805/0.4625, allocations: 0.84 MB / 0.6312 GB, free: 14.57 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003861/0.4664, allocations: 2.898 MB / 0.634 GB, free: 12.3 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.4676, allocations: 0.6338 MB / 0.6347 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/0.4694, allocations: 0.7932 MB / 0.6354 GB, free: 10.86 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.4706, allocations: 0.6493 MB / 0.6361 GB, free: 10.21 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001915/0.4708, allocations: 40 kB / 0.6361 GB, free: 10.17 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.4728, allocations: 0.8655 MB / 0.637 GB, free: 9.305 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003214/0.4732, allocations: 251 kB / 0.6372 GB, free: 9.059 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004515/0.4736, allocations: 257.1 kB / 0.6374 GB, free: 8.801 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002029/0.4757, allocations: 1.738 MB / 0.6391 GB, free: 7.059 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4757, allocations: 0 / 0.6391 GB, free: 7.059 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4757, allocations: 3.938 kB / 0.6391 GB, free: 7.055 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.472e-05/0.4757, allocations: 0 / 0.6391 GB, free: 7.055 MB / 478.1 MB 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.002623/0.4784, allocations: 1.53 MB / 0.6406 GB, free: 5.426 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.4784, allocations: 8.031 kB / 0.6406 GB, free: 5.418 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001927/0.4786, allocations: 114.5 kB / 0.6408 GB, free: 5.297 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003405/0.4789, allocations: 130.5 kB / 0.6409 GB, free: 5.168 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.4807, allocations: 1.027 MB / 0.6419 GB, free: 4.098 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.18e-05/0.4808, allocations: 49.31 kB / 0.6419 GB, free: 4.051 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.4809, allocations: 68 kB / 0.642 GB, free: 3.984 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.4823, allocations: 0.8019 MB / 0.6428 GB, free: 3.16 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.4823, allocations: 0 / 0.6428 GB, free: 3.16 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.354e-05/0.4824, allocations: 31.98 kB / 0.6428 GB, free: 3.129 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.4824, allocations: 23.88 kB / 0.6428 GB, free: 3.105 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.4835, allocations: 0.618 MB / 0.6434 GB, free: 2.484 MB / 478.1 MB 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.00404/0.4876, allocations: 3.209 MB / 0.6466 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007703/0.4884, allocations: 466.7 kB / 0.647 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004581/0.4888, allocations: 324.1 kB / 0.6473 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007399/0.4896, allocations: 0.7753 MB / 0.6481 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.4896, allocations: 38.56 kB / 0.6481 GB, free: 13.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=38): time 2.034e-06/0.4896, allocations: 0 / 0.6481 GB, free: 13.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=38): time 0.00157/0.4912, allocations: 1.009 MB / 0.6491 GB, free: 12.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.4913, allocations: 148.5 kB / 0.6492 GB, free: 12.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.4927, allocations: 1.067 MB / 0.6503 GB, free: 11.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/0.4927, allocations: 33.7 kB / 0.6503 GB, free: 11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/0.4931, allocations: 468.6 kB / 0.6508 GB, free: 10.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.4933, allocations: 130.1 kB / 0.6509 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.4933, allocations: 12 kB / 0.6509 GB, free: 10.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4934, allocations: 325.9 kB / 0.6512 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005007/0.4939, allocations: 352.8 kB / 0.6515 GB, free: 9.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005592/0.4945, allocations: 458.4 kB / 0.652 GB, free: 9.254 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006101/0.4951, allocations: 0.5391 MB / 0.6525 GB, free: 8.684 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4951, allocations: 4 kB / 0.6525 GB, free: 8.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001447/0.4966, allocations: 1.1 MB / 0.6536 GB, free: 7.539 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.4968, allocations: 327.3 kB / 0.6539 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.4968, allocations: 8 kB / 0.6539 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4968, allocations: 4 kB / 0.6539 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.4971, allocations: 91.89 kB / 0.654 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.4972, allocations: 4 kB / 0.654 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005909/0.4978, allocations: 103.1 kB / 0.6541 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.054e-05/0.4978, allocations: 28 kB / 0.6541 GB, free: 6.922 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.4978, allocations: 4 kB / 0.6541 GB, free: 6.918 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001391/0.4992, allocations: 1.105 MB / 0.6552 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4993, allocations: 4 kB / 0.6552 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.813e-06/0.4993, allocations: 7.984 kB / 0.6552 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.4996, allocations: 96.05 kB / 0.6553 GB, free: 5.672 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.4996, allocations: 7.938 kB / 0.6553 GB, free: 5.664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005478/0.5002, allocations: 104 kB / 0.6554 GB, free: 5.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.5002, allocations: 27.94 kB / 0.6554 GB, free: 5.535 MB / 494.1 MB 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 (53): * Single equations (assignments): 47 * 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.0004646/0.5007, allocations: 483.6 kB / 0.6559 GB, free: 5.035 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.5008, allocations: 102.8 kB / 0.656 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.5022, allocations: 0.9256 MB / 0.6569 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.5022, allocations: 4 kB / 0.6569 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5023, allocations: 4 kB / 0.6569 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001087/0.5033, allocations: 0.986 MB / 0.6579 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002874/0.5062, allocations: 2.125 MB / 0.66 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.5063, allocations: 7.953 kB / 0.66 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.5065, allocations: 68.19 kB / 0.66 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.5065, allocations: 8 kB / 0.66 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.5066, allocations: 12 kB / 0.66 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.5066, allocations: 7.984 kB / 0.6601 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.5066, allocations: 4 kB / 0.6601 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.5084, allocations: 1.405 MB / 0.6614 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003952/0.5088, allocations: 295.6 kB / 0.6617 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.5089, allocations: 19.98 kB / 0.6617 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005211/0.5094, allocations: 59.89 kB / 0.6618 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.5096, allocations: 51.89 kB / 0.6618 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/0.5097, allocations: 23.98 kB / 0.6619 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001028/0.5107, allocations: 0.765 MB / 0.6626 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5107, allocations: 0 / 0.6626 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001332/0.512, allocations: 0.5109 MB / 0.6631 GB, free: 13.34 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_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.003137/0.5152, allocations: 2.223 MB / 0.6653 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002409/0.5176, allocations: 1.955 MB / 0.6672 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.5176, allocations: 3.984 kB / 0.6672 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007282/0.5184, allocations: 0.5416 MB / 0.6677 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/0.5205, allocations: 0.5016 MB / 0.6682 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/0.5328, allocations: 7.255 MB / 0.6753 GB, free: 368 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006371/0.5335, allocations: 1.072 MB / 0.6763 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007299/0.5342, allocations: 208.2 kB / 0.6765 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004787/0.5347, allocations: 387.3 kB / 0.6769 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.5347, allocations: 0 / 0.6769 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.509/2.044, allocations: 32.29 MB / 0.7084 GB, free: 14.93 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/2.044, allocations: 243.5 kB / 0.7087 GB, free: 14.69 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.949/4.993, allocations: 3.5 kB / 0.7087 GB, free: 14.69 MB / 0.545 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) Environment - environmentSimulation: