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.001234/0.001235, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.21/1.21, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6873/0.6873, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 55.12 kB / 0.5019 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3028, allocations: 80.2 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.Table): time 0.002353/0.3052, allocations: 1.651 MB / 0.5818 GB, free: 3.414 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007078/0.3059, allocations: 0.5187 MB / 0.5823 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.824e-05/0.306, allocations: 4.781 kB / 0.5823 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004191/0.3064, allocations: 179.2 kB / 0.5825 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.3067, allocations: 160.5 kB / 0.5826 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.307, allocations: 195 kB / 0.5828 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.3073, allocations: 194.2 kB / 0.583 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3074, allocations: 38.95 kB / 0.583 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.089e-05/0.3075, allocations: 84.38 kB / 0.5831 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.3076, allocations: 155.6 kB / 0.5833 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.3077, allocations: 12.28 kB / 0.5833 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.363e-05/0.3078, allocations: 39.53 kB / 0.5833 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.683e-05/0.3079, allocations: 88.12 kB / 0.5834 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.811e-05/0.3079, allocations: 94.47 kB / 0.5835 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.3082, allocations: 261.4 kB / 0.5837 GB, free: 2.465 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3082, allocations: 2.422 kB / 0.5837 GB, free: 2.465 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3082, allocations: 0 / 0.5837 GB, free: 2.465 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.3082, allocations: 7.938 kB / 0.5837 GB, free: 2.457 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.0005952/0.3088, allocations: 0.5766 MB / 0.5843 GB, free: 1.953 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.3089, allocations: 9.531 kB / 0.5843 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.59e-05/0.3089, allocations: 38.12 kB / 0.5844 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.3089, allocations: 29.38 kB / 0.5844 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.3093, allocations: 371.7 kB / 0.5847 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.662e-06/0.3093, allocations: 6.031 kB / 0.5847 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.3094, allocations: 3.547 kB / 0.5847 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.3095, allocations: 78.02 kB / 0.5848 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.3095, allocations: 0.9062 kB / 0.5848 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.3095, allocations: 3.938 kB / 0.5848 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3096, allocations: 1.844 kB / 0.5848 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.3097, allocations: 53.8 kB / 0.5849 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.3101, allocations: 428.6 kB / 0.5853 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.3103, allocations: 44.89 kB / 0.5853 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.622e-05/0.3104, allocations: 25.73 kB / 0.5854 GB, free: 1.172 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.3104, allocations: 1.234 kB / 0.5854 GB, free: 1.172 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.659e-06/0.3104, allocations: 39.62 kB / 0.5854 GB, free: 1.125 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.3104, allocations: 1.031 kB / 0.5854 GB, free: 1.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003536/0.3108, allocations: 117.4 kB / 0.5855 GB, free: 1.066 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.612e-05/0.3108, allocations: 52.11 kB / 0.5856 GB, free: 1.004 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/0.3113, allocations: 0.513 MB / 0.5861 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.311e-06/0.3113, allocations: 26.67 kB / 0.5861 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.3114, allocations: 174.6 kB / 0.5863 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.3114, allocations: 11.2 kB / 0.5863 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.3115, allocations: 13 kB / 0.5863 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.417e-05/0.3115, allocations: 342.3 kB / 0.5866 GB, free: 268 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.653e-05/0.3116, allocations: 19.69 kB / 0.5866 GB, free: 264 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.367e-05/0.3117, allocations: 20.5 kB / 0.5866 GB, free: 260 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.3119, allocations: 47.7 kB / 0.5867 GB, free: 240 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3119, allocations: 0 / 0.5867 GB, free: 240 kB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002134/0.3121, allocations: 98.86 kB / 0.5868 GB, free: 184 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.3121, allocations: 6.906 kB / 0.5868 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3121, allocations: 0 / 0.5868 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3121, allocations: 48 / 0.5868 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/0.3122, allocations: 18.89 kB / 0.5868 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.3122, allocations: 4.625 kB / 0.5868 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.387e-05/0.3123, allocations: 14.41 kB / 0.5868 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.3123, allocations: 1.781 kB / 0.5868 GB, free: 164 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.3124, allocations: 173.2 kB / 0.587 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.3125, allocations: 28.28 kB / 0.587 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.3128, allocations: 113.2 kB / 0.5871 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3128, allocations: 0 / 0.5871 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.3128, allocations: 8.75 kB / 0.5871 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3128, allocations: 5.438 kB / 0.5871 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.3131, allocations: 257.7 kB / 0.5874 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3131, allocations: 1.375 kB / 0.5874 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.3131, allocations: 10.75 kB / 0.5874 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3131, allocations: 0.6094 kB / 0.5874 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.3132, allocations: 0.75 kB / 0.5874 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3132, allocations: 0 / 0.5874 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3132, allocations: 2.172 kB / 0.5874 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.3134, allocations: 197.1 kB / 0.5876 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-05/0.3135, allocations: 114 kB / 0.5877 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.3136, allocations: 0.6562 kB / 0.5877 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.947e-05/0.3137, allocations: 5.75 kB / 0.5877 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.3137, allocations: 11.67 kB / 0.5877 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.3137, allocations: 5.031 kB / 0.5877 GB, free: 15.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003988/0.3141, allocations: 386.9 kB / 0.5881 GB, free: 15.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3141, allocations: 0 / 0.5881 GB, free: 15.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.3144, allocations: 28.09 kB / 0.5881 GB, free: 15.26 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.001088/0.3155, allocations: 0.9648 MB / 0.5891 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.3157, allocations: 47.12 kB / 0.5891 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3157, allocations: 1.375 kB / 0.5891 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.067e-05/0.3158, allocations: 30.52 kB / 0.5891 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.3162, allocations: 52.78 kB / 0.5892 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.3191, allocations: 2.597 MB / 0.5917 GB, free: 12.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.3194, allocations: 0.7725 MB / 0.5925 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.192e-05/0.3195, allocations: 47.62 kB / 0.5925 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.3196, allocations: 84.42 kB / 0.5926 GB, free: 12.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3196, allocations: 0 / 0.5926 GB, free: 12.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5611/0.8807, allocations: 4.915 MB / 0.5974 GB, free: 10.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.36, allocations: 12.97 kB / 0.5974 GB, free: 10.38 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)