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.0007419/0.0007421, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.004546/0.004546, allocations: 169.9 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.191/1.191, allocations: 223.2 MB / 240.3 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.722/0.722, allocations: 132.3 MB / 423.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002731/0.0002731, allocations: 12.56 kB / 0.5041 GB, free: 3.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3305, allocations: 81.56 MB / 0.5838 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03522/0.3658, allocations: 40.86 MB / 0.6237 GB, free: 5.039 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.3771, allocations: 8.863 MB / 0.6323 GB, free: 13.92 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008641/0.378, allocations: 32.44 kB / 0.6323 GB, free: 13.91 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.3792, allocations: 486 kB / 0.6328 GB, free: 13.52 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002394/0.3816, allocations: 1.165 MB / 0.6339 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.384, allocations: 1.052 MB / 0.635 GB, free: 11.77 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00294/0.3869, allocations: 3.351 MB / 0.6382 GB, free: 8.41 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008762/0.3878, allocations: 0.7495 MB / 0.639 GB, free: 7.641 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.3891, allocations: 0.8398 MB / 0.6398 GB, free: 6.797 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006886/0.3898, allocations: 0.6803 MB / 0.6405 GB, free: 6.113 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.245e-05/0.3898, allocations: 40 kB / 0.6405 GB, free: 6.074 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.3915, allocations: 1.068 MB / 0.6415 GB, free: 5.004 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.3917, allocations: 247 kB / 0.6418 GB, free: 4.762 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004337/0.3922, allocations: 0.569 MB / 0.6423 GB, free: 4.184 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.394, allocations: 2.223 MB / 0.6445 GB, free: 1.953 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.394, allocations: 0 / 0.6445 GB, free: 1.953 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.394, allocations: 0 / 0.6445 GB, free: 1.953 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.3941, allocations: 0 / 0.6445 GB, free: 1.953 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.001898/0.396, allocations: 1.515 MB / 0.646 GB, free: 348 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.396, allocations: 8.031 kB / 0.646 GB, free: 340 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.3961, allocations: 110.6 kB / 0.6461 GB, free: 220 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002176/0.3963, allocations: 131.4 kB / 0.6462 GB, free: 88 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.3977, allocations: 1.065 MB / 0.6473 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/0.3977, allocations: 49.31 kB / 0.6473 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-05/0.3978, allocations: 68 kB / 0.6474 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.399, allocations: 0.8175 MB / 0.6482 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.399, allocations: 4 kB / 0.6482 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.654e-05/0.3991, allocations: 24 kB / 0.6482 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.3991, allocations: 16 kB / 0.6482 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009539/0.4001, allocations: 0.618 MB / 0.6488 GB, free: 13.36 MB / 494.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.003225/0.4033, allocations: 3.224 MB / 0.652 GB, free: 9.965 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006859/0.404, allocations: 466.7 kB / 0.6524 GB, free: 9.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004228/0.4044, allocations: 324.6 kB / 0.6527 GB, free: 9.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006799/0.4051, allocations: 0.7753 MB / 0.6535 GB, free: 8.238 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.4052, allocations: 42.5 kB / 0.6535 GB, free: 8.188 MB / 494.1 MB Notification: Performance of pre-optimization done (n=38): time 1.503e-06/0.4052, allocations: 4 kB / 0.6535 GB, free: 8.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=38): time 0.00141/0.4066, allocations: 0.9983 MB / 0.6545 GB, free: 7.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.4067, allocations: 148.5 kB / 0.6546 GB, free: 6.984 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.4078, allocations: 1.071 MB / 0.6557 GB, free: 5.895 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/0.4079, allocations: 37.7 kB / 0.6557 GB, free: 5.852 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.4082, allocations: 472.5 kB / 0.6562 GB, free: 5.387 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.451e-05/0.4083, allocations: 130.1 kB / 0.6563 GB, free: 5.258 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-05/0.4084, allocations: 49.7 kB / 0.6563 GB, free: 5.203 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.442e-05/0.4085, allocations: 333.8 kB / 0.6567 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004669/0.409, allocations: 356.8 kB / 0.657 GB, free: 4.523 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005404/0.4095, allocations: 454.7 kB / 0.6574 GB, free: 4.047 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.4105, allocations: 0.9796 MB / 0.6584 GB, free: 2.996 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4105, allocations: 3.938 kB / 0.6584 GB, free: 2.992 MB / 494.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001311/0.4119, allocations: 1.108 MB / 0.6595 GB, free: 1.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.412, allocations: 327.4 kB / 0.6598 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.412, allocations: 0 / 0.6598 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.4121, allocations: 4 kB / 0.6598 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.4124, allocations: 95.83 kB / 0.6599 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.4124, allocations: 7.938 kB / 0.6599 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005269/0.4129, allocations: 115.2 kB / 0.66 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.413, allocations: 20.06 kB / 0.66 GB, free: 1.215 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.072e-06/0.413, allocations: 4 kB / 0.66 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001303/0.4143, allocations: 1.114 MB / 0.6611 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.4143, allocations: 4 kB / 0.6611 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.238e-06/0.4143, allocations: 4 kB / 0.6611 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.4146, allocations: 95.88 kB / 0.6612 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.4146, allocations: 7.938 kB / 0.6612 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004886/0.4151, allocations: 95.58 kB / 0.6613 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.4152, allocations: 23.98 kB / 0.6613 GB, free: 15.84 MB / 0.4981 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.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003925/0.4156, allocations: 483.5 kB / 0.6618 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.4157, allocations: 102.8 kB / 0.6619 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.417, allocations: 0.9298 MB / 0.6628 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.417, allocations: 7.984 kB / 0.6628 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.417, allocations: 0 / 0.6628 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00102/0.418, allocations: 0.9913 MB / 0.6638 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002543/0.4206, allocations: 2.117 MB / 0.6658 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4206, allocations: 4 kB / 0.6658 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.4209, allocations: 71.89 kB / 0.6659 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.4209, allocations: 7.938 kB / 0.6659 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.4209, allocations: 12 kB / 0.6659 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.4209, allocations: 7.938 kB / 0.6659 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4209, allocations: 7.984 kB / 0.666 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.4226, allocations: 1.413 MB / 0.6673 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003172/0.4229, allocations: 303.5 kB / 0.6676 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.423, allocations: 24.05 kB / 0.6676 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004775/0.4235, allocations: 58.61 kB / 0.6677 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.4236, allocations: 43.95 kB / 0.6677 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/0.4237, allocations: 23.98 kB / 0.6678 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008542/0.4245, allocations: 0.7766 MB / 0.6685 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4245, allocations: 0 / 0.6685 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001061/0.4256, allocations: 0.5148 MB / 0.669 GB, free: 7.617 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002423/0.428, allocations: 2.247 MB / 0.6712 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001926/0.43, allocations: 1.961 MB / 0.6731 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.43, allocations: 0 / 0.6731 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005882/0.4306, allocations: 0.5506 MB / 0.6737 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/0.4329, allocations: 0.5023 MB / 0.6742 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.4457, allocations: 9.607 MB / 0.6835 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005665/0.4463, allocations: 1.068 MB / 0.6846 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005796/0.4468, allocations: 219.8 kB / 0.6848 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004564/0.4473, allocations: 391.3 kB / 0.6852 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.4473, allocations: 0 / 0.6852 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7117/1.159, allocations: 31.53 MB / 0.716 GB, free: 7.441 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/1.159, allocations: 262.6 kB / 0.7162 GB, free: 7.184 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.959/5.119, allocations: 0 / 0.7162 GB, free: 7.184 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/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)