Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.Interactive.UseRadioButtonSources.conf.json Using package Modelica_StateGraph2 with version 2.1.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_StateGraph2.Examples.Interactive.UseRadioButtonSources,fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2_Examples_Interactive_UseRadioButtonSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01411/0.01411, allocations: 172.9 kB / 15.13 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.393/2.393, allocations: 223.3 MB / 239.1 MB, free: 1.719 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009515/0.0009518, allocations: 93.38 kB / 290.3 MB, free: 13.88 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.1107/0.1107, allocations: 13.57 MB / 355 MB, free: 13.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.0004629, allocations: 8 kB / 419.2 MB, free: 87.4 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1023, allocations: 53.71 MB / 472.9 MB, free: 34.4 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.Interactive.UseRadioButtonSources): time 0.002585/0.105, allocations: 1.802 MB / 474.7 MB, free: 32.59 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.1076, allocations: 1.283 MB / 476 MB, free: 31.3 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.1078, allocations: 7.938 kB / 476 MB, free: 31.29 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.109, allocations: 355.2 kB / 476.4 MB, free: 30.95 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006729/0.1096, allocations: 243.2 kB / 476.6 MB, free: 30.71 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.111, allocations: 364.7 kB / 477 MB, free: 30.36 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000609/0.1116, allocations: 0.5104 MB / 477.5 MB, free: 29.85 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.1118, allocations: 56.64 kB / 477.5 MB, free: 29.79 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.1121, allocations: 179.2 kB / 477.7 MB, free: 29.62 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.1124, allocations: 179.2 kB / 477.9 MB, free: 29.44 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.262e-05/0.1124, allocations: 8 kB / 477.9 MB, free: 29.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.1127, allocations: 83.88 kB / 478 MB, free: 29.35 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.1129, allocations: 115.6 kB / 478.1 MB, free: 29.24 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.113, allocations: 101.5 kB / 478.2 MB, free: 29.13 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005202/0.1135, allocations: 443.1 kB / 478.6 MB, free: 28.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1136, allocations: 4 kB / 478.6 MB, free: 28.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1136, allocations: 0 / 478.6 MB, free: 28.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.892e-06/0.1136, allocations: 0 / 478.6 MB, free: 28.7 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001324/0.1149, allocations: 0.7966 MB / 479.4 MB, free: 27.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.115, allocations: 8.031 kB / 479.4 MB, free: 27.8 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.813e-05/0.1151, allocations: 50.55 kB / 479.5 MB, free: 27.74 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.1152, allocations: 51.42 kB / 479.5 MB, free: 27.69 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007101/0.1159, allocations: 429.3 kB / 480 MB, free: 27.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.1159, allocations: 16.22 kB / 480 MB, free: 27.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.178e-05/0.116, allocations: 27.88 kB / 480 MB, free: 27.19 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005553/0.1166, allocations: 238.2 kB / 480.2 MB, free: 26.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1166, allocations: 3.953 kB / 480.2 MB, free: 26.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.1166, allocations: 15.98 kB / 480.3 MB, free: 26.92 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/0.1167, allocations: 12 kB / 480.3 MB, free: 26.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/0.1171, allocations: 115.9 kB / 480.4 MB, free: 26.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.1183, allocations: 0.6953 MB / 481.1 MB, free: 26.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008305/0.1191, allocations: 0.4927 MB / 481.6 MB, free: 25.49 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.1195, allocations: 140.8 kB / 481.7 MB, free: 25.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.1196, allocations: 4 kB / 481.7 MB, free: 25.35 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006596/0.1202, allocations: 434.4 kB / 482.1 MB, free: 24.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.986e-06/0.1203, allocations: 4 kB / 482.1 MB, free: 24.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.001449/0.1217, allocations: 0.5841 MB / 482.7 MB, free: 24.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/0.1219, allocations: 379.8 kB / 483.1 MB, free: 23.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008235/0.1228, allocations: 0.5057 MB / 483.6 MB, free: 23.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.434e-05/0.1229, allocations: 53.69 kB / 483.6 MB, free: 23.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.123, allocations: 189 kB / 483.8 MB, free: 23.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.1232, allocations: 106.8 kB / 483.9 MB, free: 22.94 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.1232, allocations: 12 kB / 483.9 MB, free: 22.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1233, allocations: 362.7 kB / 484.3 MB, free: 22.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000391/0.1237, allocations: 148.9 kB / 484.4 MB, free: 22.42 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000484/0.1242, allocations: 303.6 kB / 484.7 MB, free: 22.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/0.1248, allocations: 268.2 kB / 485 MB, free: 21.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.1248, allocations: 0 / 485 MB, free: 21.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001248/0.126, allocations: 0.5992 MB / 485.6 MB, free: 21.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.074e-05/0.1261, allocations: 97.09 kB / 485.7 MB, free: 21.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.1261, allocations: 4 kB / 485.7 MB, free: 21.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.1262, allocations: 4 kB / 485.7 MB, free: 21.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.1265, allocations: 51.91 kB / 485.8 MB, free: 20.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.1265, allocations: 7.938 kB / 485.8 MB, free: 20.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.1269, allocations: 47.95 kB / 485.8 MB, free: 20.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/0.1269, allocations: 20 kB / 485.8 MB, free: 20.91 MB / 330.7 MB Warning: Assuming fixed start value for the following 3 variables: shut.table.y:DISCRETE(flow=false fixed = true protected = true ) "Connector of Boolean output signal" type: Boolean stop.table.y:DISCRETE(flow=false fixed = true protected = true ) "Connector of Boolean output signal" type: Boolean start.table.y:DISCRETE(flow=false fixed = true protected = true ) "Connector of Boolean output signal" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.start.pre_reset[1],$PRE.start.pre_reset[2],$PRE.stop.pre_reset[1],$PRE.stop.pre_reset[2],$PRE.shut.pre_reset[1],$PRE.shut.pre_reset[2],$whenCondition3,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.start.table.combiTimeTable.nextTimeEvent,start.reset[2],stop.reset[2],$PRE.shut.on,shut.on,$PRE.start.on,start.on,stop.reset[1],shut.reset[1],start.reset[1],$PRE.stop.on,stop.on,shut.reset[2],$whenCondition5,$whenCondition4,$whenCondition6,$PRE.shut.reset[1],$PRE.shut.reset[2],$PRE.shut.table.y,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],$whenCondition8,$whenCondition7,$whenCondition9,$PRE.stop.reset[1],$PRE.stop.reset[2],$PRE.stop.table.y,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],$whenCondition11,$whenCondition10,$whenCondition12,$PRE.start.reset[1],$PRE.start.reset[2],$PRE.start.table.y,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 3 * 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.0004838/0.1274, allocations: 367.4 kB / 486.2 MB, free: 20.53 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.1275, allocations: 51.44 kB / 486.2 MB, free: 20.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.1277, allocations: 48.8 kB / 486.3 MB, free: 20.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.1277, allocations: 3.938 kB / 486.3 MB, free: 20.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.1277, allocations: 4 kB / 486.3 MB, free: 20.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1277, allocations: 0 / 486.3 MB, free: 20.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.1293, allocations: 1.031 MB / 487.3 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1294, allocations: 0 / 487.3 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.75e-05/0.1295, allocations: 8 kB / 487.3 MB, free: 19.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.1295, allocations: 8.125 kB / 487.3 MB, free: 19.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.02e-05/0.1295, allocations: 12 kB / 487.4 MB, free: 19.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1295, allocations: 0 / 487.4 MB, free: 19.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1296, allocations: 3.984 kB / 487.4 MB, free: 19.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.1307, allocations: 0.6402 MB / 488 MB, free: 18.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.1309, allocations: 132.5 kB / 488.1 MB, free: 18.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.131, allocations: 27.98 kB / 488.2 MB, free: 18.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.1313, allocations: 23.98 kB / 488.2 MB, free: 18.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.1315, allocations: 31.95 kB / 488.2 MB, free: 18.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.356e-05/0.1315, allocations: 15.98 kB / 488.2 MB, free: 18.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000561/0.1321, allocations: 375.1 kB / 488.6 MB, free: 18 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1321, allocations: 4 kB / 488.6 MB, free: 18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006638/0.1328, allocations: 108 kB / 488.7 MB, free: 17.89 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,start.reset[1],start.reset[2],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2]) * Number of discrete states: 33 (shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition6,shut.on,$whenCondition5,$whenCondition4,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition9,stop.on,$whenCondition8,$whenCondition7,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,start.on,$whenCondition11,$whenCondition10,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 6 * 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.00256/0.1354, allocations: 1.552 MB / 490.3 MB, free: 16.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.1366, allocations: 0.6268 MB / 490.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.1366, allocations: 0 / 490.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005739/0.1372, allocations: 442.6 kB / 491.3 MB, free: 15.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.1383, allocations: 122.6 kB / 491.4 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006177/0.1445, allocations: 2.926 MB / 494.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.1449, allocations: 0.8399 MB / 495.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000415/0.1453, allocations: 92.19 kB / 495.3 MB, free: 11.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.1456, allocations: 139.4 kB / 495.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1456, allocations: 0 / 495.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04811/0.1938, allocations: 10.57 MB / 0.4941 GB, free: 0.6641 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003209/0.1941, allocations: 252.4 kB / 0.4944 GB, free: 336 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.103/3.297, allocations: 0 / 0.4944 GB, free: 336 kB / 330.7 MB