Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001087, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.2 MB / 218.9 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001153, allocations: 96.23 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4297/0.4297, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.714e-05/4.716e-05, allocations: 4 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1462, allocations: 58.83 MB / 484.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4345/0.5808, allocations: 88.49 MB / 0.5593 GB, free: 15.74 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.581, allocations: 66.25 kB / 0.5594 GB, free: 15.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07618/0.6572, allocations: 29 MB / 0.5877 GB, free: 8.738 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.6573, allocations: 0 / 0.5877 GB, free: 8.738 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.354e-05/0.6574, allocations: 27.92 kB / 0.5877 GB, free: 8.711 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001753/0.6592, allocations: 1.082 MB / 0.5888 GB, free: 7.594 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.6592, allocations: 12.03 kB / 0.5888 GB, free: 7.582 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.392e-05/0.6593, allocations: 61.09 kB / 0.5888 GB, free: 7.527 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.6595, allocations: 98.22 kB / 0.5889 GB, free: 7.434 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.6609, allocations: 0.7381 MB / 0.5896 GB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.661, allocations: 18.44 kB / 0.5897 GB, free: 6.754 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.661, allocations: 21.81 kB / 0.5897 GB, free: 6.738 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005708/0.6616, allocations: 407.2 kB / 0.5901 GB, free: 6.371 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.6616, allocations: 4 kB / 0.5901 GB, free: 6.367 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.6617, allocations: 15.05 kB / 0.5901 GB, free: 6.359 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.6617, allocations: 5.375 kB / 0.5901 GB, free: 6.355 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.662, allocations: 208 kB / 0.5903 GB, free: 6.215 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.664, allocations: 1.613 MB / 0.5919 GB, free: 4.793 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006694/0.6647, allocations: 0.4966 MB / 0.5924 GB, free: 4.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.6649, allocations: 192.1 kB / 0.5925 GB, free: 4.184 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.665, allocations: 12.16 kB / 0.5926 GB, free: 4.172 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004919/0.6655, allocations: 363.9 kB / 0.5929 GB, free: 3.859 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 3.296e-06/0.6655, allocations: 0 / 0.5929 GB, free: 3.859 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.0009334/0.6664, allocations: 0.5285 MB / 0.5934 GB, free: 3.438 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00018/0.6666, allocations: 456.7 kB / 0.5938 GB, free: 2.891 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.6678, allocations: 0.9487 MB / 0.5948 GB, free: 2.156 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/0.6679, allocations: 41.39 kB / 0.5948 GB, free: 2.121 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.6681, allocations: 370.9 kB / 0.5952 GB, free: 1.953 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.6682, allocations: 136.5 kB / 0.5953 GB, free: 1.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/0.6683, allocations: 9.75 kB / 0.5953 GB, free: 1.836 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.6684, allocations: 323 kB / 0.5956 GB, free: 1.523 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.6686, allocations: 147 kB / 0.5958 GB, free: 1.434 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.669, allocations: 354.2 kB / 0.5961 GB, free: 1.062 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.6692, allocations: 170 kB / 0.5963 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/0.6692, allocations: 3.953 kB / 0.5963 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007574/0.67, allocations: 0.5191 MB / 0.5968 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.67, allocations: 9.094 kB / 0.5968 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.67, allocations: 4 kB / 0.5968 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.6701, allocations: 8 kB / 0.5968 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.6704, allocations: 91.08 kB / 0.5969 GB, free: 444 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.6705, allocations: 15.88 kB / 0.5969 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004515/0.6709, allocations: 81.2 kB / 0.597 GB, free: 356 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.671, allocations: 19.31 kB / 0.597 GB, free: 340 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 48 ($whenCondition8,$PRE.booleanTable1.combiTimeTable.nextTimeEvent,booleanTable1.y,booleanTable1.combiTimeTable.nextTimeEvent,$PRE.booleanTable1.combiTimeTable.nextTimeEventScaled,booleanTable1.combiTimeTable.nextTimeEventScaled,$whenCondition7,$PRE.booleanTable2a.combiTimeTable.nextTimeEvent,booleanTable2a.y,booleanTable2a.combiTimeTable.nextTimeEvent,$PRE.booleanTable2a.combiTimeTable.nextTimeEventScaled,booleanTable2a.combiTimeTable.nextTimeEventScaled,$whenCondition6,$PRE.booleanTable2b.combiTimeTable.nextTimeEvent,booleanTable2b.y,booleanTable2b.combiTimeTable.nextTimeEvent,$PRE.booleanTable2b.combiTimeTable.nextTimeEventScaled,booleanTable2b.combiTimeTable.nextTimeEventScaled,$whenCondition5,$PRE.booleanTable3a.combiTimeTable.nextTimeEvent,booleanTable3a.y,booleanTable3a.combiTimeTable.nextTimeEvent,$PRE.booleanTable3a.combiTimeTable.nextTimeEventScaled,booleanTable3a.combiTimeTable.nextTimeEventScaled,$whenCondition4,$PRE.booleanTable3b.combiTimeTable.nextTimeEvent,booleanTable3b.y,booleanTable3b.combiTimeTable.nextTimeEvent,$PRE.booleanTable3b.combiTimeTable.nextTimeEventScaled,booleanTable3b.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.booleanTable3c.combiTimeTable.nextTimeEvent,booleanTable3c.y,booleanTable3c.combiTimeTable.nextTimeEvent,$PRE.booleanTable3c.combiTimeTable.nextTimeEventScaled,booleanTable3c.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.booleanTable4a.combiTimeTable.nextTimeEvent,booleanTable4a.y,booleanTable4a.combiTimeTable.nextTimeEvent,$PRE.booleanTable4a.combiTimeTable.nextTimeEventScaled,booleanTable4a.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable4b.combiTimeTable.nextTimeEvent,booleanTable4b.y,booleanTable4b.combiTimeTable.nextTimeEvent,$PRE.booleanTable4b.combiTimeTable.nextTimeEventScaled,booleanTable4b.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * 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.0001747/0.6711, allocations: 172.5 kB / 0.5972 GB, free: 180 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.6713, allocations: 102.7 kB / 0.5972 GB, free: 76 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009969/0.6723, allocations: 0.6029 MB / 0.5978 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.6723, allocations: 8 kB / 0.5978 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.6723, allocations: 4 kB / 0.5978 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.6724, allocations: 0 / 0.5978 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007001/0.6731, allocations: 0.673 MB / 0.5985 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.6731, allocations: 8 kB / 0.5985 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.6732, allocations: 59.67 kB / 0.5986 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-06/0.6733, allocations: 8 kB / 0.5986 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.609e-05/0.6733, allocations: 18.67 kB / 0.5986 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.6733, allocations: 4.156 kB / 0.5986 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6733, allocations: 0 / 0.5986 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009106/0.6742, allocations: 0.7159 MB / 0.5993 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003095/0.6745, allocations: 234.8 kB / 0.5995 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.6747, allocations: 19.67 kB / 0.5995 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.6751, allocations: 50.34 kB / 0.5996 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.6752, allocations: 54.91 kB / 0.5996 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.6752, allocations: 27.36 kB / 0.5997 GB, free: 13.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009746/0.6762, allocations: 0.7446 MB / 0.6004 GB, free: 13.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6762, allocations: 0 / 0.6004 GB, free: 13.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007462/0.677, allocations: 181 kB / 0.6006 GB, free: 13.24 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition8,booleanTable1.y,booleanTable1.combiTimeTable.nextTimeEvent,booleanTable1.combiTimeTable.nextTimeEventScaled,$whenCondition7,booleanTable2a.y,booleanTable2a.combiTimeTable.nextTimeEvent,booleanTable2a.combiTimeTable.nextTimeEventScaled,$whenCondition6,booleanTable2b.y,booleanTable2b.combiTimeTable.nextTimeEvent,booleanTable2b.combiTimeTable.nextTimeEventScaled,$whenCondition5,booleanTable3a.y,booleanTable3a.combiTimeTable.nextTimeEvent,booleanTable3a.combiTimeTable.nextTimeEventScaled,$whenCondition4,booleanTable3b.y,booleanTable3b.combiTimeTable.nextTimeEvent,booleanTable3b.combiTimeTable.nextTimeEventScaled,$whenCondition3,booleanTable3c.y,booleanTable3c.combiTimeTable.nextTimeEvent,booleanTable3c.combiTimeTable.nextTimeEventScaled,$whenCondition2,booleanTable4a.y,booleanTable4a.combiTimeTable.nextTimeEvent,booleanTable4a.combiTimeTable.nextTimeEventScaled,$whenCondition1,booleanTable4b.y,booleanTable4b.combiTimeTable.nextTimeEvent,booleanTable4b.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 16 (booleanTable4b.combiTimeTable.nextTimeEvent,booleanTable4b.combiTimeTable.nextTimeEventScaled,booleanTable4a.combiTimeTable.nextTimeEvent,booleanTable4a.combiTimeTable.nextTimeEventScaled,booleanTable3c.combiTimeTable.nextTimeEvent,booleanTable3c.combiTimeTable.nextTimeEventScaled,booleanTable3b.combiTimeTable.nextTimeEvent,booleanTable3b.combiTimeTable.nextTimeEventScaled,booleanTable3a.combiTimeTable.nextTimeEvent,booleanTable3a.combiTimeTable.nextTimeEventScaled,booleanTable2b.combiTimeTable.nextTimeEvent,booleanTable2b.combiTimeTable.nextTimeEventScaled,booleanTable2a.combiTimeTable.nextTimeEvent,booleanTable2a.combiTimeTable.nextTimeEventScaled,booleanTable1.combiTimeTable.nextTimeEvent,booleanTable1.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.002415/0.6794, allocations: 2.079 MB / 0.6026 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007973/0.6802, allocations: 427.7 kB / 0.603 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.6802, allocations: 4 kB / 0.603 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003914/0.6806, allocations: 276.6 kB / 0.6033 GB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.6819, allocations: 260.5 kB / 0.6035 GB, free: 10.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.6843, allocations: 1.298 MB / 0.6048 GB, free: 9.434 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.6848, allocations: 1.016 MB / 0.6058 GB, free: 8.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005067/0.6853, allocations: 189.7 kB / 0.606 GB, free: 8.223 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004476/0.6858, allocations: 346.1 kB / 0.6063 GB, free: 8.098 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6858, allocations: 0 / 0.6063 GB, free: 8.098 MB / 426.7 MB [CodegenCFunctions.tpl:3768:14-3768:14:writable] Error: Template error: literalExpConst failed: {}.