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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 108 kB / 15.61 MB, free: 148 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.001904/0.001904, allocations: 196.9 kB / 16.53 MB, free: 6.656 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.139/1.139, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7624/0.7624, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 59.5 kB / 0.5054 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.114, allocations: 80.93 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.Table): time 0.002184/0.1162, allocations: 1.644 MB / 0.5861 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006769/0.1169, allocations: 0.5147 MB / 0.5866 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.024e-05/0.117, allocations: 7.938 kB / 0.5866 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.1174, allocations: 169.1 kB / 0.5867 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.1176, allocations: 167.7 kB / 0.5869 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.1179, allocations: 195.3 kB / 0.5871 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.1181, allocations: 195.6 kB / 0.5873 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.726e-05/0.1182, allocations: 37.8 kB / 0.5873 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.865e-05/0.1183, allocations: 83.67 kB / 0.5874 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.1184, allocations: 159.6 kB / 0.5875 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.1185, allocations: 12 kB / 0.5876 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.329e-05/0.1186, allocations: 43.98 kB / 0.5876 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.087e-05/0.1186, allocations: 75.75 kB / 0.5877 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.148e-05/0.1187, allocations: 99.22 kB / 0.5878 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.1189, allocations: 263 kB / 0.588 GB, free: 0.832 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.1189, allocations: 0 / 0.588 GB, free: 0.832 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1189, allocations: 0 / 0.588 GB, free: 0.832 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1189, allocations: 0 / 0.588 GB, free: 0.832 MB / 494.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.0005703/0.1195, allocations: 0.5861 MB / 0.5886 GB, free: 204 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.528e-05/0.1195, allocations: 8.031 kB / 0.5886 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.553e-05/0.1196, allocations: 34.73 kB / 0.5886 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.1196, allocations: 32.56 kB / 0.5887 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.12, allocations: 374.3 kB / 0.589 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-06/0.12, allocations: 384 / 0.589 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.12, allocations: 4.375 kB / 0.589 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1202, allocations: 73.59 kB / 0.5891 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.1202, allocations: 0 / 0.5891 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.1202, allocations: 4 kB / 0.5891 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1202, allocations: 4 kB / 0.5891 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.1204, allocations: 55.89 kB / 0.5891 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.1207, allocations: 432.5 kB / 0.5896 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.1209, allocations: 54.66 kB / 0.5896 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.752e-05/0.121, allocations: 24.83 kB / 0.5896 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.121, allocations: 4 kB / 0.5896 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.121, allocations: 30.56 kB / 0.5897 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.121, allocations: 0 / 0.5897 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003069/0.1213, allocations: 121.2 kB / 0.5898 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.1214, allocations: 55.34 kB / 0.5898 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.1218, allocations: 0.5171 MB / 0.5903 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.1218, allocations: 25.7 kB / 0.5904 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.33e-05/0.1219, allocations: 164 kB / 0.5905 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.289e-05/0.1219, allocations: 7.844 kB / 0.5905 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.1219, allocations: 25.72 kB / 0.5906 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.021e-05/0.122, allocations: 346.8 kB / 0.5909 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.151e-05/0.1221, allocations: 11.98 kB / 0.5909 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.658e-05/0.1222, allocations: 20.17 kB / 0.5909 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.1223, allocations: 48.89 kB / 0.591 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.1223, allocations: 0 / 0.591 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001936/0.1225, allocations: 109.2 kB / 0.5911 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.1225, allocations: 4 kB / 0.5911 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1226, allocations: 4 kB / 0.5911 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.1226, allocations: 0 / 0.5911 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.552e-05/0.1226, allocations: 11.98 kB / 0.5911 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.1226, allocations: 0 / 0.5911 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.1227, allocations: 11.92 kB / 0.5911 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.1227, allocations: 3.938 kB / 0.5911 GB, free: 13.44 MB / 0.4981 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 () * 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.0001064/0.1228, allocations: 173.8 kB / 0.5913 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.1229, allocations: 27.62 kB / 0.5913 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.1231, allocations: 108.1 kB / 0.5914 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1231, allocations: 0 / 0.5914 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1231, allocations: 4 kB / 0.5914 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1231, allocations: 7.875 kB / 0.5914 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.1233, allocations: 257.5 kB / 0.5917 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1233, allocations: 4 kB / 0.5917 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.437e-05/0.1234, allocations: 11.98 kB / 0.5917 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1234, allocations: 0 / 0.5917 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.1234, allocations: 0 / 0.5917 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1234, allocations: 0 / 0.5917 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-07/0.1234, allocations: 0 / 0.5917 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.1237, allocations: 203.1 kB / 0.5919 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.1237, allocations: 104.8 kB / 0.592 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.1238, allocations: 4 kB / 0.592 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.895e-05/0.1238, allocations: 7.984 kB / 0.592 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.1239, allocations: 7.938 kB / 0.592 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.1239, allocations: 0 / 0.592 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003047/0.1242, allocations: 383.1 kB / 0.5923 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.262e-06/0.1242, allocations: 0 / 0.5923 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002134/0.1244, allocations: 31.94 kB / 0.5924 GB, free: 12.03 MB / 0.4981 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 () * 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.0009433/0.1254, allocations: 0.9971 MB / 0.5934 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.1256, allocations: 35.97 kB / 0.5934 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1256, allocations: 0 / 0.5934 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.843e-05/0.1257, allocations: 27.91 kB / 0.5934 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.126, allocations: 52.67 kB / 0.5935 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.1283, allocations: 2.598 MB / 0.596 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.1285, allocations: 0.7788 MB / 0.5968 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.125e-05/0.1286, allocations: 33.94 kB / 0.5968 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.074e-05/0.1287, allocations: 83.41 kB / 0.5969 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1287, allocations: 0 / 0.5969 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.336/2.465, allocations: 4.923 MB / 0.6017 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.977/11.44, allocations: 14.56 kB / 0.6017 GB, free: 2.578 MB / 0.4981 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/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)