Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.007637/0.007637, allocations: 171.9 kB / 15.12 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7605/0.7605, allocations: 135.2 MB / 151 MB, free: 13.82 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.855/1.855, allocations: 223.2 MB / 406.8 MB, free: 3.25 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.001316/0.001316, allocations: 89.47 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005662/0.0005663, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.4415, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.5866, allocations: 113.8 MB / 0.7606 GB, free: 2.215 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.5869, allocations: 91.94 kB / 0.7607 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02256/0.6095, allocations: 7.649 MB / 0.7682 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6095, allocations: 0 / 0.7682 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.951e-05/0.6095, allocations: 12 kB / 0.7682 GB, free: 10.44 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001076/0.6106, allocations: 0.6075 MB / 0.7688 GB, free: 9.777 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.6107, allocations: 8.031 kB / 0.7688 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.7e-05/0.6108, allocations: 46.55 kB / 0.7688 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.611, allocations: 39.55 kB / 0.7689 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.6115, allocations: 302.6 kB / 0.7692 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.6115, allocations: 16.22 kB / 0.7692 GB, free: 9.328 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.6116, allocations: 16 kB / 0.7692 GB, free: 9.312 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/0.6121, allocations: 240.7 kB / 0.7694 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.6121, allocations: 0 / 0.7694 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.6122, allocations: 8 kB / 0.7694 GB, free: 9.047 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.6122, allocations: 7.938 kB / 0.7694 GB, free: 9.039 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006661/0.6129, allocations: 239.8 kB / 0.7697 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.6141, allocations: 0.9618 MB / 0.7706 GB, free: 7.773 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007972/0.6149, allocations: 261.2 kB / 0.7709 GB, free: 7.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.6149, allocations: 3.938 kB / 0.7709 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.615, allocations: 42.56 kB / 0.7709 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.615, allocations: 3.938 kB / 0.7709 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.001219/0.6162, allocations: 397.4 kB / 0.7713 GB, free: 7.047 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.159e-05/0.6163, allocations: 81.11 kB / 0.7714 GB, free: 6.949 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.6166, allocations: 230.2 kB / 0.7716 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.6166, allocations: 29.7 kB / 0.7716 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.6167, allocations: 168 kB / 0.7718 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.6168, allocations: 51.25 kB / 0.7718 GB, free: 6.465 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.6168, allocations: 4 kB / 0.7718 GB, free: 6.461 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.617, allocations: 338.8 kB / 0.7721 GB, free: 6.121 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000331/0.6173, allocations: 115.9 kB / 0.7723 GB, free: 6.008 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.6177, allocations: 153.9 kB / 0.7724 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.6181, allocations: 123.9 kB / 0.7725 GB, free: 5.715 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6181, allocations: 3.953 kB / 0.7725 GB, free: 5.711 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000837/0.6189, allocations: 337.1 kB / 0.7728 GB, free: 5.375 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.6189, allocations: 4 kB / 0.7729 GB, free: 5.371 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.619, allocations: 0 / 0.7729 GB, free: 5.371 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.619, allocations: 4 kB / 0.7729 GB, free: 5.367 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.6193, allocations: 68.08 kB / 0.7729 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.6193, allocations: 16.02 kB / 0.7729 GB, free: 5.285 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.6196, allocations: 55.69 kB / 0.773 GB, free: 5.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.6196, allocations: 8 kB / 0.773 GB, free: 5.223 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001565/0.6198, allocations: 129.8 kB / 0.7731 GB, free: 5.086 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.6199, allocations: 35.58 kB / 0.7732 GB, free: 5.051 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008518/0.6208, allocations: 331.1 kB / 0.7735 GB, free: 4.715 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.6208, allocations: 4 kB / 0.7735 GB, free: 4.711 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.6208, allocations: 0 / 0.7735 GB, free: 4.711 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.6208, allocations: 3.984 kB / 0.7735 GB, free: 4.707 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.6212, allocations: 293.3 kB / 0.7738 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.6213, allocations: 0 / 0.7738 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.6216, allocations: 75.84 kB / 0.7738 GB, free: 4.297 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.6216, allocations: 3.984 kB / 0.7738 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.6216, allocations: 4 kB / 0.7738 GB, free: 4.289 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6216, allocations: 0.7031 kB / 0.7738 GB, free: 4.289 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6216, allocations: 0 / 0.7738 GB, free: 4.289 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008736/0.6225, allocations: 0.4908 MB / 0.7743 GB, free: 3.777 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.819e-05/0.6226, allocations: 100.7 kB / 0.7744 GB, free: 3.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.6226, allocations: 11.89 kB / 0.7744 GB, free: 3.648 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.6229, allocations: 39.95 kB / 0.7745 GB, free: 3.609 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.623, allocations: 19.97 kB / 0.7745 GB, free: 3.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.623, allocations: 8 kB / 0.7745 GB, free: 3.582 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001765/0.6232, allocations: 190 kB / 0.7747 GB, free: 3.402 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6232, allocations: 0 / 0.7747 GB, free: 3.402 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003585/0.6236, allocations: 60.19 kB / 0.7747 GB, free: 3.344 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001305/0.6249, allocations: 1.121 MB / 0.7758 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007376/0.6256, allocations: 271.9 kB / 0.7761 GB, free: 1.926 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6256, allocations: 0 / 0.7761 GB, free: 1.926 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003511/0.626, allocations: 143.8 kB / 0.7762 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.6265, allocations: 61.34 kB / 0.7763 GB, free: 1.723 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.6279, allocations: 1.675 MB / 0.7779 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.6283, allocations: 0.7597 MB / 0.7787 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000152/0.6284, allocations: 34.28 kB / 0.7787 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.6286, allocations: 83.41 kB / 0.7788 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of SimCode: time 3.31e-07/0.6286, allocations: 0 / 0.7788 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.6452, allocations: 5.714 MB / 0.7843 GB, free: 9.551 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/0.6453, allocations: 178.6 kB / 0.7845 GB, free: 9.309 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/2.69, allocations: 0 / 0.7845 GB, free: 9.309 MB / 0.5573 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)