Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.3 MB / 236 MB, free: 3 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008961/0.0008958, allocations: 91.67 kB / 287 MB, free: 276 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2333/0.2333, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.594e-05/3.61e-05, allocations: 4.219 kB / 451.9 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1468, allocations: 61.92 MB / 0.5018 GB, free: 11.39 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4372/0.5841, allocations: 90.07 MB / 0.5897 GB, free: 15.22 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/0.5843, allocations: 67.97 kB / 0.5898 GB, free: 15.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08496/0.6693, allocations: 29.65 MB / 0.6188 GB, free: 1.484 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.6693, allocations: 0 / 0.6188 GB, free: 1.484 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.31e-05/0.6694, allocations: 19.98 kB / 0.6188 GB, free: 1.465 MB / 426.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.001752/0.6712, allocations: 1.088 MB / 0.6199 GB, free: 300 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.6712, allocations: 8.031 kB / 0.6199 GB, free: 292 kB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.463e-05/0.6713, allocations: 58.53 kB / 0.6199 GB, free: 224 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.6716, allocations: 98.78 kB / 0.62 GB, free: 124 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.6731, allocations: 0.7299 MB / 0.6207 GB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/0.6731, allocations: 20.55 kB / 0.6207 GB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.6732, allocations: 27.95 kB / 0.6208 GB, free: 15.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006366/0.6738, allocations: 398.5 kB / 0.6211 GB, free: 14.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.6739, allocations: 3.938 kB / 0.6212 GB, free: 14.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.6739, allocations: 19.97 kB / 0.6212 GB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.6739, allocations: 8 kB / 0.6212 GB, free: 14.81 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003556/0.6743, allocations: 199.8 kB / 0.6214 GB, free: 14.62 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.6763, allocations: 1.614 MB / 0.6229 GB, free: 12.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000729/0.677, allocations: 0.4942 MB / 0.6234 GB, free: 12.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/0.6773, allocations: 194.9 kB / 0.6236 GB, free: 12.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.6774, allocations: 8 kB / 0.6236 GB, free: 12.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006058/0.678, allocations: 379.1 kB / 0.624 GB, free: 11.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 2.595e-06/0.678, allocations: 0 / 0.624 GB, free: 11.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.001024/0.679, allocations: 0.5316 MB / 0.6245 GB, free: 11.19 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000272/0.6793, allocations: 452.9 kB / 0.6249 GB, free: 10.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.6807, allocations: 0.9493 MB / 0.6259 GB, free: 9.664 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.701e-05/0.6808, allocations: 45.69 kB / 0.6259 GB, free: 9.613 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003424/0.6812, allocations: 373 kB / 0.6263 GB, free: 9.246 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.6813, allocations: 126.3 kB / 0.6264 GB, free: 9.121 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.6813, allocations: 16 kB / 0.6264 GB, free: 9.105 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6815, allocations: 330 kB / 0.6267 GB, free: 8.777 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.6818, allocations: 137.1 kB / 0.6268 GB, free: 8.645 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004176/0.6822, allocations: 363.8 kB / 0.6272 GB, free: 8.195 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.6825, allocations: 170.8 kB / 0.6274 GB, free: 8.031 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.6825, allocations: 7.938 kB / 0.6274 GB, free: 8.023 MB / 442.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008755/0.6834, allocations: 0.5117 MB / 0.6279 GB, free: 7.504 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.6834, allocations: 7.984 kB / 0.6279 GB, free: 7.496 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.6835, allocations: 7.953 kB / 0.6279 GB, free: 7.488 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.6835, allocations: 8.25 kB / 0.6279 GB, free: 7.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/0.6839, allocations: 99.83 kB / 0.628 GB, free: 7.383 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.6839, allocations: 4 kB / 0.628 GB, free: 7.379 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004659/0.6844, allocations: 80.16 kB / 0.6281 GB, free: 7.301 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.6844, allocations: 23.98 kB / 0.6281 GB, free: 7.277 MB / 442.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.0001958/0.6846, allocations: 172.8 kB / 0.6282 GB, free: 7.102 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.6848, allocations: 102.8 kB / 0.6283 GB, free: 7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.6859, allocations: 0.5989 MB / 0.6289 GB, free: 6.391 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.6859, allocations: 11.95 kB / 0.6289 GB, free: 6.379 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.6859, allocations: 0 / 0.6289 GB, free: 6.379 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.6859, allocations: 7.984 kB / 0.6289 GB, free: 6.371 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008495/0.6868, allocations: 0.6768 MB / 0.6296 GB, free: 5.645 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6868, allocations: 4 kB / 0.6296 GB, free: 5.641 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.687, allocations: 43.92 kB / 0.6297 GB, free: 5.598 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.687, allocations: 4 kB / 0.6297 GB, free: 5.594 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.687, allocations: 19.98 kB / 0.6297 GB, free: 5.574 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.778e-05/0.6871, allocations: 8.016 kB / 0.6297 GB, free: 5.566 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/0.6871, allocations: 11.94 kB / 0.6297 GB, free: 5.555 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009593/0.6881, allocations: 0.7123 MB / 0.6304 GB, free: 4.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.6884, allocations: 235.7 kB / 0.6306 GB, free: 4.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.6885, allocations: 19.95 kB / 0.6306 GB, free: 4.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/0.6889, allocations: 55.95 kB / 0.6307 GB, free: 4.426 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.689, allocations: 55.94 kB / 0.6307 GB, free: 4.371 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/0.6891, allocations: 27.98 kB / 0.6308 GB, free: 4.344 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00105/0.6901, allocations: 0.7423 MB / 0.6315 GB, free: 3.586 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6902, allocations: 0 / 0.6315 GB, free: 3.586 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006849/0.6908, allocations: 179.8 kB / 0.6317 GB, free: 3.41 MB / 442.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.002574/0.6934, allocations: 2.084 MB / 0.6337 GB, free: 1.359 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008936/0.6944, allocations: 420 kB / 0.6341 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.6944, allocations: 4.062 kB / 0.6341 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004581/0.6948, allocations: 267.8 kB / 0.6344 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.6963, allocations: 249.8 kB / 0.6346 GB, free: 452 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.699, allocations: 1.298 MB / 0.6359 GB, free: 15.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006821/0.6997, allocations: 1.009 MB / 0.6369 GB, free: 14.03 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005874/0.7003, allocations: 193.7 kB / 0.637 GB, free: 13.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005216/0.7008, allocations: 351.2 kB / 0.6374 GB, free: 13.5 MB / 458.7 MB Notification: Performance of SimCode: time 2.384e-06/0.7009, allocations: 0 / 0.6374 GB, free: 13.5 MB / 458.7 MB [CodegenCFunctions.tpl:3768:14-3768:14:writable] Error: Template error: literalExpConst failed: {}.