Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.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.Controls.SetPoints.Examples.Table,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.Table,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table",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.007489/0.007489, allocations: 171.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8197/0.8197, allocations: 135.2 MB / 151 MB, free: 13.84 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.615/1.615, allocations: 223.2 MB / 406.8 MB, free: 3.262 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.001074/0.001074, allocations: 93.17 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.000403, allocations: 4 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4751/0.4755, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1707/0.6463, allocations: 113.8 MB / 0.7607 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.6466, allocations: 79.95 kB / 0.7607 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01276/0.6594, allocations: 4.843 MB / 0.7655 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.645e-06/0.6595, allocations: 0 / 0.7655 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.652e-05/0.6595, allocations: 7.938 kB / 0.7655 GB, free: 13.22 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009178/0.6604, allocations: 0.5797 MB / 0.766 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.283e-05/0.6605, allocations: 8.031 kB / 0.7661 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.08e-05/0.6606, allocations: 38.56 kB / 0.7661 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.799e-05/0.6607, allocations: 27.62 kB / 0.7661 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006954/0.6614, allocations: 381.2 kB / 0.7665 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.6614, allocations: 4 kB / 0.7665 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.6614, allocations: 0 / 0.7665 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.6616, allocations: 81.66 kB / 0.7666 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.6617, allocations: 0 / 0.7666 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.6617, allocations: 3.938 kB / 0.7666 GB, free: 12 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.6617, allocations: 0 / 0.7666 GB, free: 12 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.6619, allocations: 67.95 kB / 0.7666 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006909/0.6626, allocations: 444.5 kB / 0.7671 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.6628, allocations: 58.66 kB / 0.7671 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.6628, allocations: 0 / 0.7671 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.6629, allocations: 38.64 kB / 0.7671 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.6629, allocations: 0 / 0.7671 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.000439/0.6633, allocations: 133.2 kB / 0.7673 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.6634, allocations: 59.36 kB / 0.7673 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006359/0.664, allocations: 468.8 kB / 0.7678 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.6641, allocations: 25.7 kB / 0.7678 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.6642, allocations: 168 kB / 0.768 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.6642, allocations: 7.906 kB / 0.768 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.6643, allocations: 3.938 kB / 0.768 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.6645, allocations: 350.8 kB / 0.7683 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.734e-05/0.6646, allocations: 23.98 kB / 0.7683 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.121e-05/0.6647, allocations: 23.97 kB / 0.7684 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.99e-05/0.6648, allocations: 23.98 kB / 0.7684 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6648, allocations: 4 kB / 0.7684 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002584/0.6651, allocations: 105.3 kB / 0.7685 GB, free: 9.922 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.6651, allocations: 8 kB / 0.7685 GB, free: 9.914 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.6651, allocations: 4 kB / 0.7685 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.6651, allocations: 0 / 0.7685 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.6653, allocations: 11.98 kB / 0.7685 GB, free: 9.898 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.6653, allocations: 0 / 0.7685 GB, free: 9.898 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.854e-05/0.6654, allocations: 19.88 kB / 0.7685 GB, free: 9.879 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.6654, allocations: 0 / 0.7685 GB, free: 9.879 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001852/0.6656, allocations: 174.6 kB / 0.7687 GB, free: 9.699 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.6656, allocations: 31.62 kB / 0.7687 GB, free: 9.668 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.666, allocations: 120.1 kB / 0.7688 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.666, allocations: 0 / 0.7688 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.666, allocations: 0 / 0.7688 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.666, allocations: 0 / 0.7688 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.6663, allocations: 281.5 kB / 0.7691 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6663, allocations: 3.938 kB / 0.7691 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.432e-05/0.6664, allocations: 11.98 kB / 0.7691 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.6664, allocations: 0 / 0.7691 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.6664, allocations: 4 kB / 0.7691 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.6664, allocations: 0 / 0.7691 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6665, allocations: 0 / 0.7691 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.6667, allocations: 215 kB / 0.7693 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.6669, allocations: 128.7 kB / 0.7694 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.6669, allocations: 0 / 0.7694 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.667, allocations: 8 kB / 0.7695 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.6671, allocations: 11.98 kB / 0.7695 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.6671, allocations: 0 / 0.7695 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003745/0.6675, allocations: 379.1 kB / 0.7698 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6675, allocations: 0 / 0.7698 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002688/0.6677, allocations: 28 kB / 0.7699 GB, free: 8.41 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.00148/0.6692, allocations: 1.004 MB / 0.7708 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.6695, allocations: 51.95 kB / 0.7709 GB, free: 7.465 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6695, allocations: 0 / 0.7709 GB, free: 7.465 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.583e-05/0.6696, allocations: 35.92 kB / 0.7709 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.67, allocations: 33.53 kB / 0.771 GB, free: 7.398 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/0.6728, allocations: 1.715 MB / 0.7726 GB, free: 5.625 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/0.6734, allocations: 0.779 MB / 0.7734 GB, free: 4.82 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.6736, allocations: 45.92 kB / 0.7734 GB, free: 4.773 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.6738, allocations: 87.41 kB / 0.7735 GB, free: 4.688 MB / 0.5417 GB Notification: Performance of SimCode: time 4.11e-07/0.6738, allocations: 0 / 0.7735 GB, free: 4.688 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/0.6922, allocations: 5.165 MB / 0.7786 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.6925, allocations: 198.4 kB / 0.7787 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/2.673, allocations: 0 / 0.7787 GB, free: 15.4 MB / 0.5573 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe 2>&1)