Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.Table,fileNamePrefix="IDEAS_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.001367/0.001367, allocations: 173.6 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.753/0.753, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.61/1.61, allocations: 221.3 MB / 400.4 MB, free: 5.883 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009939/0.0009939, allocations: 91.78 kB / 483.3 MB, free: 5.898 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.184e-05/5.227e-05, allocations: 2.812 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1973, allocations: 82.3 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7261/0.9235, allocations: 113.7 MB / 0.7516 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.9237, allocations: 82.3 kB / 0.7517 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01253/0.9363, allocations: 4.833 MB / 0.7564 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9364, allocations: 0 / 0.7564 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.591e-05/0.9364, allocations: 11.27 kB / 0.7564 GB, free: 27.32 MB / 0.5105 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.000808/0.9372, allocations: 0.4957 MB / 0.7569 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.9373, allocations: 7.688 kB / 0.7569 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.191e-05/0.9374, allocations: 33.94 kB / 0.7569 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.9375, allocations: 31.06 kB / 0.7569 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007015/0.9382, allocations: 381.2 kB / 0.7573 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.9382, allocations: 0 / 0.7573 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.9383, allocations: 7.656 kB / 0.7573 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.9384, allocations: 67.77 kB / 0.7574 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.9384, allocations: 0 / 0.7574 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.9384, allocations: 7.969 kB / 0.7574 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.9385, allocations: 0 / 0.7574 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.471e-05/0.9385, allocations: 33.8 kB / 0.7574 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006603/0.9392, allocations: 432.5 kB / 0.7578 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.9393, allocations: 41.23 kB / 0.7579 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.9394, allocations: 15.83 kB / 0.7579 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.9394, allocations: 0 / 0.7579 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.9394, allocations: 31.31 kB / 0.7579 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.9394, allocations: 0 / 0.7579 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002209/0.9397, allocations: 83.8 kB / 0.758 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.9397, allocations: 51.41 kB / 0.758 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005645/0.9403, allocations: 461.5 kB / 0.7585 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.9403, allocations: 33.55 kB / 0.7585 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.9404, allocations: 170.6 kB / 0.7587 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.9405, allocations: 7.406 kB / 0.7587 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-06/0.9405, allocations: 3.938 kB / 0.7587 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.9406, allocations: 340.4 kB / 0.759 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.347e-05/0.9407, allocations: 7.188 kB / 0.759 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.925e-05/0.9407, allocations: 10.95 kB / 0.759 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.459e-05/0.9407, allocations: 10.75 kB / 0.759 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9407, allocations: 0 / 0.759 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001373/0.9409, allocations: 75.66 kB / 0.7591 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.9409, allocations: 7.719 kB / 0.7591 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.9409, allocations: 0 / 0.7591 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.9409, allocations: 0 / 0.7591 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.94e-05/0.941, allocations: 14.73 kB / 0.7591 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.9411, allocations: 7.641 kB / 0.7591 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.053e-05/0.9412, allocations: 3.812 kB / 0.7591 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.9412, allocations: 3.875 kB / 0.7591 GB, free: 25.28 MB / 0.5105 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 () * 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 7.602e-05/0.9412, allocations: 108.9 kB / 0.7592 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.593e-05/0.9413, allocations: 30.95 kB / 0.7593 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.9415, allocations: 84.64 kB / 0.7594 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.9415, allocations: 0 / 0.7594 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.9415, allocations: 3.938 kB / 0.7594 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.9415, allocations: 7.859 kB / 0.7594 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.9418, allocations: 273.9 kB / 0.7596 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.9418, allocations: 0 / 0.7596 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.615e-05/0.9419, allocations: 15.67 kB / 0.7596 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.9419, allocations: 3.938 kB / 0.7597 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.9419, allocations: 3.875 kB / 0.7597 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.9419, allocations: 0 / 0.7597 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.9419, allocations: 4 kB / 0.7597 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.9421, allocations: 177.7 kB / 0.7598 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.9422, allocations: 134.2 kB / 0.76 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.9422, allocations: 3.984 kB / 0.76 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.9423, allocations: 11.62 kB / 0.76 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.9424, allocations: 7.797 kB / 0.76 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.9424, allocations: 0 / 0.76 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003668/0.9428, allocations: 374.1 kB / 0.7603 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9428, allocations: 0 / 0.7603 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002502/0.943, allocations: 27.06 kB / 0.7604 GB, free: 24.45 MB / 0.5105 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 () * 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.00109/0.9441, allocations: 0.9171 MB / 0.7613 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.9443, allocations: 25.78 kB / 0.7613 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9443, allocations: 0 / 0.7613 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-05/0.9443, allocations: 15.09 kB / 0.7613 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.9446, allocations: 35.47 kB / 0.7613 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008055/0.9454, allocations: 449.7 kB / 0.7618 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.9459, allocations: 0.7784 MB / 0.7625 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001134/0.946, allocations: 41.23 kB / 0.7626 GB, free: 22.69 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.9462, allocations: 89.5 kB / 0.7626 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of SimCode: time 7.22e-07/0.9462, allocations: 0 / 0.7626 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.9636, allocations: 5.028 MB / 0.7676 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/0.9638, allocations: 175.7 kB / 0.7677 GB, free: 20.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.077/3.041, allocations: 0 / 0.7677 GB, free: 20.1 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.Table.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.Table.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Examples_Table.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.Table.pipe 2>&1)