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.00158/0.001581, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.001956/0.001956, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.048/2.048, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.087/1.087, allocations: 132.2 MB / 423.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005116/0.000512, allocations: 8.75 kB / 0.5033 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8771/0.8776, allocations: 81.57 MB / 0.583 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.Table): time 0.003357/0.8811, allocations: 1.342 MB / 0.5843 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.8826, allocations: 471 kB / 0.5847 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.8828, allocations: 0.7188 kB / 0.5847 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000982/0.8838, allocations: 161.7 kB / 0.5849 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006432/0.8844, allocations: 142.9 kB / 0.585 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008355/0.8853, allocations: 165.4 kB / 0.5852 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004152/0.8857, allocations: 123.1 kB / 0.5853 GB, free: 2.512 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.8859, allocations: 28.86 kB / 0.5853 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.8862, allocations: 69.7 kB / 0.5854 GB, free: 2.477 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003897/0.8866, allocations: 134 kB / 0.5855 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/0.8866, allocations: 9.688 kB / 0.5855 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.8868, allocations: 22.84 kB / 0.5855 GB, free: 2.438 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.887, allocations: 64.52 kB / 0.5856 GB, free: 2.422 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.819e-05/0.8871, allocations: 59.95 kB / 0.5856 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005535/0.8876, allocations: 208.6 kB / 0.5858 GB, free: 2.309 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.8876, allocations: 0 / 0.5858 GB, free: 2.309 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.8877, allocations: 1 kB / 0.5858 GB, free: 2.309 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.8877, allocations: 0 / 0.5858 GB, free: 2.309 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.001279/0.889, allocations: 0.557 MB / 0.5864 GB, free: 1.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001088/0.8891, allocations: 9.094 kB / 0.5864 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.462e-05/0.8892, allocations: 40.45 kB / 0.5864 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.8893, allocations: 29.55 kB / 0.5865 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009412/0.8902, allocations: 358.3 kB / 0.5868 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.8903, allocations: 2 kB / 0.5868 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.8903, allocations: 7.188 kB / 0.5868 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.8907, allocations: 78.88 kB / 0.5869 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.8907, allocations: 3.938 kB / 0.5869 GB, free: 1.434 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.8907, allocations: 4.969 kB / 0.5869 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.8908, allocations: 0.6562 kB / 0.5869 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.8912, allocations: 59.39 kB / 0.587 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.8923, allocations: 428.7 kB / 0.5874 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.8926, allocations: 58.12 kB / 0.5874 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.8926, allocations: 1.25 kB / 0.5874 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.8927, allocations: 36.22 kB / 0.5875 GB, free: 1.012 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 3.226e-06/0.8927, allocations: 0 / 0.5875 GB, free: 1.012 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0007455/0.8935, allocations: 143.5 kB / 0.5876 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.8935, allocations: 53.3 kB / 0.5876 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.8949, allocations: 0.5085 MB / 0.5881 GB, free: 0.668 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.8949, allocations: 25.7 kB / 0.5882 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.8951, allocations: 171.7 kB / 0.5883 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.8952, allocations: 9.656 kB / 0.5883 GB, free: 496 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.8952, allocations: 1.156 kB / 0.5883 GB, free: 496 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.8954, allocations: 346.2 kB / 0.5887 GB, free: 160 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.8956, allocations: 20.64 kB / 0.5887 GB, free: 160 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.8957, allocations: 24.34 kB / 0.5887 GB, free: 156 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.8959, allocations: 28.44 kB / 0.5887 GB, free: 148 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.8959, allocations: 0 / 0.5887 GB, free: 148 kB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004522/0.8964, allocations: 112.8 kB / 0.5889 GB, free: 88 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.8964, allocations: 6.984 kB / 0.5889 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.8964, allocations: 0.7812 kB / 0.5889 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.8965, allocations: 7.938 kB / 0.5889 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.8967, allocations: 17.53 kB / 0.5889 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.8967, allocations: 0.75 kB / 0.5889 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.8968, allocations: 8.531 kB / 0.5889 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.8969, allocations: 2.469 kB / 0.5889 GB, free: 76 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003684/0.8973, allocations: 169.5 kB / 0.5891 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.8974, allocations: 31.69 kB / 0.5891 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005243/0.8979, allocations: 119.3 kB / 0.5892 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.8979, allocations: 0 / 0.5892 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.898, allocations: 4.484 kB / 0.5892 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.898, allocations: 1.359 kB / 0.5892 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005894/0.8986, allocations: 266.9 kB / 0.5895 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.8986, allocations: 0 / 0.5895 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.769e-05/0.8987, allocations: 12.83 kB / 0.5895 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.894e-06/0.8987, allocations: 2.406 kB / 0.5895 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.8987, allocations: 4 kB / 0.5895 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.8988, allocations: 1.375 kB / 0.5895 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/0.8988, allocations: 0.6094 kB / 0.5895 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.8993, allocations: 223.8 kB / 0.5897 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.8995, allocations: 112.1 kB / 0.5898 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/0.8996, allocations: 0.5312 kB / 0.5898 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.8998, allocations: 8.641 kB / 0.5898 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.8999, allocations: 7.938 kB / 0.5898 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.8999, allocations: 1.531 kB / 0.5898 GB, free: 15.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009264/0.9008, allocations: 386.9 kB / 0.5902 GB, free: 15.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.9008, allocations: 0 / 0.5902 GB, free: 15.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004749/0.9013, allocations: 31.41 kB / 0.5902 GB, free: 15.17 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 (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.002296/0.9036, allocations: 0.9856 MB / 0.5912 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004564/0.9041, allocations: 53.92 kB / 0.5912 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.9041, allocations: 0 / 0.5912 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.9043, allocations: 35.91 kB / 0.5913 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006173/0.905, allocations: 34.91 kB / 0.5913 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005629/0.9106, allocations: 1.678 MB / 0.5929 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006722/0.9113, allocations: 0.7742 MB / 0.5937 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002751/0.9116, allocations: 45.7 kB / 0.5937 GB, free: 12.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.9119, allocations: 88.64 kB / 0.5938 GB, free: 12.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.034e-06/0.9119, allocations: 0 / 0.5938 GB, free: 12.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0336/0.9455, allocations: 4.941 MB / 0.5986 GB, free: 11.29 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003675/0.946, allocations: 205.5 kB / 0.5988 GB, free: 11.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.07/4.016, allocations: 4 kB / 0.5988 GB, free: 11.04 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/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) Environment - environmentSimulation: