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.009843/0.009843, allocations: 170.6 kB / 15.11 MB, free: 5.93 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.123/2.123, allocations: 223.3 MB / 239.1 MB, free: 1.711 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.001191/0.001191, allocations: 95.89 kB / 290.3 MB, free: 13.87 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.1077/0.1077, allocations: 13.58 MB / 355 MB, free: 13.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006182/0.0006184, allocations: 13.27 kB / 419.3 MB, free: 87.37 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1068, allocations: 53.72 MB / 473 MB, free: 34.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5155/0.6224, allocations: 80.95 MB / 0.541 GB, free: 16.54 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001568/0.6226, allocations: 49.3 kB / 0.541 GB, free: 16.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1125/0.7351, allocations: 23.83 MB / 0.5643 GB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.7352, allocations: 0 / 0.5643 GB, free: 12.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.516e-05/0.7353, allocations: 7.875 kB / 0.5643 GB, free: 12.41 MB / 362.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.001974/0.7373, allocations: 0.8412 MB / 0.5651 GB, free: 11.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.7373, allocations: 14.38 kB / 0.5651 GB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.7375, allocations: 52.36 kB / 0.5652 GB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.7377, allocations: 46.22 kB / 0.5652 GB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.7391, allocations: 454.4 kB / 0.5656 GB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.7391, allocations: 11.92 kB / 0.5657 GB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.787e-05/0.7392, allocations: 19.22 kB / 0.5657 GB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009394/0.7402, allocations: 255.6 kB / 0.5659 GB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.7402, allocations: 3.984 kB / 0.5659 GB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-05/0.7403, allocations: 7.625 kB / 0.5659 GB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.337e-05/0.7403, allocations: 15.67 kB / 0.5659 GB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005276/0.7409, allocations: 127.5 kB / 0.5661 GB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.7429, allocations: 0.7224 MB / 0.5668 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.7441, allocations: 0.5055 MB / 0.5673 GB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.7441, allocations: 7.984 kB / 0.5673 GB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008709/0.745, allocations: 435.9 kB / 0.5677 GB, free: 10.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.416e-06/0.7451, allocations: 3.906 kB / 0.5677 GB, free: 10.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.002184/0.7472, allocations: 0.8361 MB / 0.5685 GB, free: 9.535 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001653/0.7474, allocations: 379 kB / 0.5689 GB, free: 9.094 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.7486, allocations: 484.2 kB / 0.5693 GB, free: 8.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.7488, allocations: 51.16 kB / 0.5694 GB, free: 8.895 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.749, allocations: 192.4 kB / 0.5696 GB, free: 8.793 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.7492, allocations: 103.6 kB / 0.5697 GB, free: 8.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.7493, allocations: 10.94 kB / 0.5697 GB, free: 8.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.7494, allocations: 367.6 kB / 0.57 GB, free: 8.395 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000565/0.75, allocations: 145 kB / 0.5702 GB, free: 8.375 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006997/0.7507, allocations: 307.2 kB / 0.5705 GB, free: 8.172 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007127/0.7514, allocations: 266.5 kB / 0.5707 GB, free: 8.051 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.066e-06/0.7515, allocations: 3.875 kB / 0.5707 GB, free: 8.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00182/0.7533, allocations: 0.5936 MB / 0.5713 GB, free: 7.816 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.663e-05/0.7534, allocations: 101.7 kB / 0.5714 GB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.7535, allocations: 3.875 kB / 0.5714 GB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/0.7535, allocations: 3.844 kB / 0.5714 GB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.7539, allocations: 54.41 kB / 0.5714 GB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.7539, allocations: 3.844 kB / 0.5714 GB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005491/0.7545, allocations: 38.83 kB / 0.5715 GB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.008e-05/0.7546, allocations: 26.73 kB / 0.5715 GB, free: 7.688 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: shut.table.y:DISCRETE(fixed = true protected = true ) "Connector of Boolean output signal" type: Boolean stop.table.y:DISCRETE(fixed = true protected = true ) "Connector of Boolean output signal" type: Boolean start.table.y:DISCRETE(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.0007084/0.7553, allocations: 366.6 kB / 0.5719 GB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.7556, allocations: 57.77 kB / 0.5719 GB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/0.7573, allocations: 0.5599 MB / 0.5725 GB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.7573, allocations: 0 / 0.5725 GB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.7573, allocations: 3.969 kB / 0.5725 GB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.7573, allocations: 0 / 0.5725 GB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/0.7598, allocations: 1.088 MB / 0.5735 GB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.7599, allocations: 0 / 0.5735 GB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.76, allocations: 26.42 kB / 0.5736 GB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-06/0.7601, allocations: 0 / 0.5736 GB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.323e-05/0.7601, allocations: 22.89 kB / 0.5736 GB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.7602, allocations: 0 / 0.5736 GB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7602, allocations: 0 / 0.5736 GB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.762, allocations: 0.6622 MB / 0.5742 GB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/0.7622, allocations: 146.3 kB / 0.5744 GB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/0.7625, allocations: 30.73 kB / 0.5744 GB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00046/0.763, allocations: 23.14 kB / 0.5744 GB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.7631, allocations: 30.88 kB / 0.5744 GB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.972e-05/0.7632, allocations: 23.08 kB / 0.5745 GB, free: 6.133 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009837/0.7642, allocations: 377.2 kB / 0.5748 GB, free: 6.004 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7643, allocations: 0 / 0.5748 GB, free: 6.004 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001077/0.7653, allocations: 130.5 kB / 0.575 GB, free: 5.988 MB / 362.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 (30): * Single equations (assignments): 21 * 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.002893/0.7683, allocations: 1.597 MB / 0.5765 GB, free: 5.008 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.7697, allocations: 0.6527 MB / 0.5771 GB, free: 4.738 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.7697, allocations: 192 / 0.5771 GB, free: 4.738 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008409/0.7706, allocations: 453.2 kB / 0.5776 GB, free: 20.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009673/0.7715, allocations: 105.5 kB / 0.5777 GB, free: 20.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007475/0.779, allocations: 5.029 MB / 0.5826 GB, free: 17.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/0.7796, allocations: 0.847 MB / 0.5834 GB, free: 16.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004802/0.7801, allocations: 97.42 kB / 0.5835 GB, free: 16.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.7804, allocations: 142.9 kB / 0.5836 GB, free: 16.37 MB / 378.7 MB Notification: Performance of SimCode: time 1.563e-06/0.7804, allocations: 0 / 0.5836 GB, free: 16.37 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03957/0.82, allocations: 10.98 MB / 0.5944 GB, free: 11.14 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/0.8203, allocations: 243.9 kB / 0.5946 GB, free: 10.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.141/3.961, allocations: 3.938 kB / 0.5946 GB, free: 10.89 MB / 378.7 MB