Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001588/0.001588, allocations: 198.2 kB / 8.768 MB, free: 312 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.707/1.707, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008844/0.0008844, allocations: 95.45 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2222/0.2222, allocations: 45.16 MB / 383.8 MB, free: 248 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.896e-05/1.895e-05, allocations: 0 / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1353, allocations: 63.25 MB / 0.5044 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4814/0.6167, allocations: 90.88 MB / 0.5932 GB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.617, allocations: 66.28 kB / 0.5933 GB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08672/0.7037, allocations: 31.19 MB / 0.6237 GB, free: 1.691 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.7038, allocations: 4 kB / 0.6237 GB, free: 1.688 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.568e-05/0.7039, allocations: 16 kB / 0.6237 GB, free: 1.672 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.001835/0.7057, allocations: 1.144 MB / 0.6249 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.7058, allocations: 12.03 kB / 0.6249 GB, free: 496 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.706, allocations: 110.6 kB / 0.625 GB, free: 384 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.7076, allocations: 0.7879 MB / 0.6257 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.7076, allocations: 12 kB / 0.6258 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.791e-05/0.7077, allocations: 19.98 kB / 0.6258 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003509/0.708, allocations: 181.4 kB / 0.6259 GB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005356/0.7086, allocations: 375 kB / 0.6263 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.7086, allocations: 4 kB / 0.6263 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.7086, allocations: 7.953 kB / 0.6263 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.7087, allocations: 4 kB / 0.6263 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002035/0.7107, allocations: 1.583 MB / 0.6279 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/0.7113, allocations: 467.2 kB / 0.6283 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.7116, allocations: 185.1 kB / 0.6285 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.7116, allocations: 8 kB / 0.6285 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000512/0.7121, allocations: 347.3 kB / 0.6288 GB, free: 12.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 2.635e-06/0.7121, allocations: 3.938 kB / 0.6288 GB, free: 12.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.0009495/0.7131, allocations: 0.5073 MB / 0.6293 GB, free: 12.49 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002313/0.7133, allocations: 448.3 kB / 0.6298 GB, free: 11.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.7147, allocations: 0.9719 MB / 0.6307 GB, free: 11.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.644e-05/0.7148, allocations: 33.7 kB / 0.6307 GB, free: 11.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/0.7151, allocations: 390.3 kB / 0.6311 GB, free: 11.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.7152, allocations: 123.2 kB / 0.6312 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.86e-05/0.7152, allocations: 0 / 0.6312 GB, free: 10.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.7154, allocations: 331.3 kB / 0.6315 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.7156, allocations: 130.4 kB / 0.6317 GB, free: 10.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/0.716, allocations: 349.2 kB / 0.632 GB, free: 10.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.7163, allocations: 154.4 kB / 0.6321 GB, free: 10.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.7163, allocations: 4 kB / 0.6321 GB, free: 10.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007632/0.717, allocations: 486.5 kB / 0.6326 GB, free: 9.672 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.7171, allocations: 4 kB / 0.6326 GB, free: 9.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.7171, allocations: 8.438 kB / 0.6326 GB, free: 9.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.7171, allocations: 8.25 kB / 0.6326 GB, free: 9.652 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/0.7175, allocations: 99.77 kB / 0.6327 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.7175, allocations: 7.984 kB / 0.6327 GB, free: 9.551 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004726/0.718, allocations: 67.66 kB / 0.6328 GB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.7181, allocations: 19.5 kB / 0.6328 GB, free: 9.469 MB / 426.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.0001985/0.7183, allocations: 156.1 kB / 0.633 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008139/0.7191, allocations: 0.5134 MB / 0.6335 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.7193, allocations: 106.7 kB / 0.6336 GB, free: 8.797 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.7203, allocations: 0.5623 MB / 0.6341 GB, free: 8.367 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.7203, allocations: 8 kB / 0.6341 GB, free: 8.359 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.688e-05/0.7203, allocations: 4 kB / 0.6341 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.7204, allocations: 7.984 kB / 0.6341 GB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008183/0.7212, allocations: 0.6547 MB / 0.6348 GB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.7212, allocations: 4 kB / 0.6348 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.7214, allocations: 43.92 kB / 0.6348 GB, free: 7.766 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.7214, allocations: 4 kB / 0.6348 GB, free: 7.762 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.154e-05/0.7214, allocations: 15.48 kB / 0.6348 GB, free: 7.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.7215, allocations: 7.938 kB / 0.6348 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7215, allocations: 0 / 0.6348 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009194/0.7224, allocations: 0.6994 MB / 0.6355 GB, free: 7.086 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/0.7227, allocations: 239.6 kB / 0.6358 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.7229, allocations: 15.86 kB / 0.6358 GB, free: 6.848 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/0.7233, allocations: 43.97 kB / 0.6358 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.7234, allocations: 58.62 kB / 0.6359 GB, free: 6.758 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/0.7235, allocations: 23.92 kB / 0.6359 GB, free: 6.738 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001021/0.7245, allocations: 0.7433 MB / 0.6366 GB, free: 6.211 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.7245, allocations: 3.938 kB / 0.6366 GB, free: 6.207 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000804/0.7254, allocations: 159.4 kB / 0.6368 GB, free: 6.055 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.002602/0.728, allocations: 2.052 MB / 0.6388 GB, free: 4.129 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007688/0.7288, allocations: 391.2 kB / 0.6392 GB, free: 3.859 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7288, allocations: 0 / 0.6392 GB, free: 3.859 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003771/0.7291, allocations: 258.8 kB / 0.6394 GB, free: 3.684 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.7305, allocations: 244.5 kB / 0.6396 GB, free: 3.496 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/0.7335, allocations: 1.311 MB / 0.6409 GB, free: 2.305 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006452/0.7342, allocations: 1.029 MB / 0.6419 GB, free: 1.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005702/0.7348, allocations: 197.8 kB / 0.6421 GB, free: 1.074 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005155/0.7353, allocations: 359.8 kB / 0.6425 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of SimCode: time 3.346e-06/0.7353, allocations: 0 / 0.6425 GB, free: 0.9531 MB / 426.7 MB [CodegenCFunctions.tpl:3449:14-3449:14:writable] Error: Template error: literalExpConst failed: {}.