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.001291/0.001292, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8066/0.8066, allocations: 133.6 MB / 141.6 MB, free: 2.863 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.00109/0.001089, allocations: 105.4 kB / 478.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.477e-05/2.496e-05, allocations: 8 kB / 0.5535 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5633/0.5634, allocations: 82.3 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1601/0.7235, allocations: 113.1 MB / 0.7443 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.7238, allocations: 71.95 kB / 0.7444 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01256/0.7364, allocations: 4.797 MB / 0.7491 GB, free: 4.691 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7365, allocations: 0 / 0.7491 GB, free: 4.691 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.547e-05/0.7365, allocations: 7.938 kB / 0.7491 GB, free: 4.684 MB / 0.5261 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.0006128/0.7371, allocations: 0.4938 MB / 0.7496 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.7372, allocations: 8.031 kB / 0.7496 GB, free: 4.137 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.707e-05/0.7372, allocations: 35.62 kB / 0.7496 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/0.7378, allocations: 371.7 kB / 0.75 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.7379, allocations: 0 / 0.75 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.7379, allocations: 4 kB / 0.75 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.048e-05/0.738, allocations: 35.92 kB / 0.75 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.7381, allocations: 53.62 kB / 0.7501 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.7381, allocations: 0 / 0.7501 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.7381, allocations: 0 / 0.7501 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.7382, allocations: 4 kB / 0.7501 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005652/0.7387, allocations: 413.3 kB / 0.7505 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.121e-05/0.7388, allocations: 38.5 kB / 0.7505 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.073e-05/0.7389, allocations: 12.92 kB / 0.7505 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.7389, allocations: 0 / 0.7505 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.7389, allocations: 38.56 kB / 0.7506 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.7389, allocations: 0 / 0.7506 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0001998/0.7392, allocations: 73.41 kB / 0.7506 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.7392, allocations: 55.41 kB / 0.7507 GB, free: 2.898 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005423/0.7397, allocations: 450.2 kB / 0.7511 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.7398, allocations: 25.7 kB / 0.7511 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.7399, allocations: 175.9 kB / 0.7513 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.7399, allocations: 3.906 kB / 0.7513 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.7399, allocations: 0 / 0.7513 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.7401, allocations: 350.8 kB / 0.7516 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.018e-05/0.7401, allocations: 8 kB / 0.7516 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.784e-05/0.7401, allocations: 8 kB / 0.7517 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.418e-05/0.7402, allocations: 7.984 kB / 0.7517 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7402, allocations: 0 / 0.7517 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001019/0.7403, allocations: 73.33 kB / 0.7517 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.7403, allocations: 4.781 kB / 0.7517 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.7403, allocations: 3.984 kB / 0.7517 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.7403, allocations: 0 / 0.7517 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.847e-05/0.7404, allocations: 16 kB / 0.7518 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.7405, allocations: 0 / 0.7518 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.544e-05/0.7406, allocations: 11.98 kB / 0.7518 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.7406, allocations: 0 / 0.7518 GB, free: 1.758 MB / 0.5261 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.21e-05/0.7406, allocations: 108.9 kB / 0.7519 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001139/0.7408, allocations: 77.31 kB / 0.7519 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.7408, allocations: 27.62 kB / 0.752 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.741, allocations: 84.42 kB / 0.7521 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.741, allocations: 7.922 kB / 0.7521 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.741, allocations: 0 / 0.7521 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.741, allocations: 3.953 kB / 0.7521 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.7413, allocations: 246.1 kB / 0.7523 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.7413, allocations: 4 kB / 0.7523 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.084e-05/0.7414, allocations: 15.92 kB / 0.7523 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.7414, allocations: 0 / 0.7523 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.7414, allocations: 4 kB / 0.7523 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.7414, allocations: 4 kB / 0.7523 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.7414, allocations: 4 kB / 0.7523 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.7416, allocations: 171.4 kB / 0.7525 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.7417, allocations: 132.6 kB / 0.7526 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.7417, allocations: 0 / 0.7526 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.7419, allocations: 8.047 kB / 0.7526 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.7419, allocations: 11.97 kB / 0.7526 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.7419, allocations: 4 kB / 0.7526 GB, free: 0.7617 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003654/0.7423, allocations: 356.5 kB / 0.753 GB, free: 424 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7423, allocations: 0 / 0.753 GB, free: 424 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002591/0.7426, allocations: 28 kB / 0.753 GB, free: 396 kB / 0.5261 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.001086/0.7437, allocations: 0.9032 MB / 0.7539 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.7438, allocations: 16 kB / 0.7539 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.7438, allocations: 8 kB / 0.7539 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.745e-05/0.7438, allocations: 11.94 kB / 0.7539 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.7441, allocations: 36.42 kB / 0.754 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008198/0.745, allocations: 451.8 kB / 0.7544 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.7453, allocations: 0.775 MB / 0.7551 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.7455, allocations: 46.05 kB / 0.7552 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.7456, allocations: 87.39 kB / 0.7553 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of SimCode: time 5.01e-07/0.7456, allocations: 3.938 kB / 0.7553 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.7707, allocations: 4.444 MB / 0.7596 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.7709, allocations: 146.5 kB / 0.7598 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.094/2.865, allocations: 0 / 0.7598 GB, free: 9.441 MB / 0.5417 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)