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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.006253/0.006253, allocations: 173.1 kB / 16.26 MB, free: 6.613 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.16/1.16, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7036/0.7036, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003376, allocations: 8 kB / 0.5041 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.357, allocations: 81.57 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.Table): time 0.001551/0.3586, allocations: 1.359 MB / 0.5851 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007353/0.3594, allocations: 0.5092 MB / 0.5856 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.211e-05/0.3594, allocations: 1 kB / 0.5856 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004412/0.3599, allocations: 172.6 kB / 0.5857 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.3602, allocations: 159.5 kB / 0.5859 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.3605, allocations: 176.4 kB / 0.586 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.3607, allocations: 188.6 kB / 0.5862 GB, free: 2.461 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3608, allocations: 33.84 kB / 0.5863 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.723e-05/0.361, allocations: 71.42 kB / 0.5863 GB, free: 2.422 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.3611, allocations: 142.9 kB / 0.5865 GB, free: 2.391 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.3612, allocations: 5.031 kB / 0.5865 GB, free: 2.391 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.832e-05/0.3613, allocations: 31.5 kB / 0.5865 GB, free: 2.383 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.444e-05/0.3613, allocations: 73.11 kB / 0.5866 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.859e-05/0.3614, allocations: 113.8 kB / 0.5867 GB, free: 2.262 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.3617, allocations: 247 kB / 0.5869 GB, free: 2.176 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3617, allocations: 5.031 kB / 0.5869 GB, free: 2.172 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3617, allocations: 0 / 0.5869 GB, free: 2.172 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3617, allocations: 0 / 0.5869 GB, free: 2.172 MB / 430.1 MB 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.000588/0.3623, allocations: 0.5535 MB / 0.5875 GB, free: 1.684 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3624, allocations: 11.17 kB / 0.5875 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.384e-05/0.3624, allocations: 37.09 kB / 0.5875 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.3624, allocations: 29.12 kB / 0.5875 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.3628, allocations: 376.1 kB / 0.5879 GB, free: 1.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.3628, allocations: 13.73 kB / 0.5879 GB, free: 1.328 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.3629, allocations: 2.688 kB / 0.5879 GB, free: 1.328 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.363, allocations: 87.94 kB / 0.588 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.3631, allocations: 0 / 0.588 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.3631, allocations: 1.344 kB / 0.588 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3631, allocations: 1.469 kB / 0.588 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.3633, allocations: 62.22 kB / 0.5881 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.3637, allocations: 429.1 kB / 0.5885 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.3639, allocations: 53.53 kB / 0.5885 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.441e-05/0.364, allocations: 30.7 kB / 0.5885 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.364, allocations: 5.594 kB / 0.5885 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.364, allocations: 32.2 kB / 0.5886 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.364, allocations: 0.9375 kB / 0.5886 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003743/0.3644, allocations: 135.3 kB / 0.5887 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/0.3645, allocations: 52.41 kB / 0.5888 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005428/0.365, allocations: 0.513 MB / 0.5893 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.365, allocations: 26.22 kB / 0.5893 GB, free: 484 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.3651, allocations: 167.7 kB / 0.5894 GB, free: 340 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.3651, allocations: 9.688 kB / 0.5895 GB, free: 332 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/0.3652, allocations: 10.91 kB / 0.5895 GB, free: 316 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.221e-05/0.3652, allocations: 346.7 kB / 0.5898 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.254e-05/0.3653, allocations: 24.33 kB / 0.5898 GB, free: 15.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.089e-05/0.3654, allocations: 21.19 kB / 0.5898 GB, free: 15.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.3656, allocations: 57.78 kB / 0.5899 GB, free: 15.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3656, allocations: 1.375 kB / 0.5899 GB, free: 15.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002465/0.3659, allocations: 111.5 kB / 0.59 GB, free: 15.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3659, allocations: 9.094 kB / 0.59 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3659, allocations: 0.6094 kB / 0.59 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.3659, allocations: 1.375 kB / 0.59 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.934e-05/0.366, allocations: 13.72 kB / 0.59 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.366, allocations: 0 / 0.59 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.978e-05/0.3661, allocations: 12 kB / 0.59 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.3661, allocations: 2.047 kB / 0.59 GB, free: 15.89 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001377/0.3663, allocations: 171.9 kB / 0.5902 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.3663, allocations: 28.3 kB / 0.5902 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.3666, allocations: 127.3 kB / 0.5903 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3666, allocations: 0 / 0.5903 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3666, allocations: 5.391 kB / 0.5904 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.3666, allocations: 7.969 kB / 0.5904 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.3669, allocations: 258.8 kB / 0.5906 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3669, allocations: 1.406 kB / 0.5906 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.281e-05/0.367, allocations: 16.7 kB / 0.5906 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.367, allocations: 4.656 kB / 0.5906 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.974e-06/0.367, allocations: 4.594 kB / 0.5906 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.367, allocations: 0.875 kB / 0.5906 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.367, allocations: 0.6094 kB / 0.5906 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.3673, allocations: 212 kB / 0.5908 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.644e-05/0.3674, allocations: 119.5 kB / 0.591 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.3674, allocations: 2.266 kB / 0.591 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.3676, allocations: 12.62 kB / 0.591 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.3676, allocations: 10.91 kB / 0.591 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.3676, allocations: 1.375 kB / 0.591 GB, free: 15.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004268/0.368, allocations: 382.6 kB / 0.5913 GB, free: 14.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.368, allocations: 0 / 0.5913 GB, free: 14.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.3683, allocations: 23.66 kB / 0.5914 GB, free: 14.98 MB / 446.1 MB 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 (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.001182/0.3695, allocations: 0.97 MB / 0.5923 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.3697, allocations: 61.45 kB / 0.5924 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3697, allocations: 0 / 0.5924 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.884e-05/0.3698, allocations: 32.33 kB / 0.5924 GB, free: 14.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.3702, allocations: 40.98 kB / 0.5924 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/0.3735, allocations: 2.667 MB / 0.595 GB, free: 12.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.3738, allocations: 0.7693 MB / 0.5958 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.757e-05/0.3739, allocations: 41.7 kB / 0.5958 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.3741, allocations: 88.03 kB / 0.5959 GB, free: 11.75 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3741, allocations: 0 / 0.5959 GB, free: 11.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04343/0.4175, allocations: 4.477 MB / 0.6003 GB, free: 10.34 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002986/0.4178, allocations: 221.2 kB / 0.6005 GB, free: 10.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/2.129, allocations: 4 kB / 0.6005 GB, free: 10.08 MB / 446.1 MB (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/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)