Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9479/0.9479, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.03972/0.03972, allocations: 8.602 MB / 268.6 MB, free: 4.918 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop") translateModel(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 340.9 MB, free: 8.383 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.57e-05/1.699e-05, allocations: 8.781 kB / 340.9 MB, free: 8.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop): time 0.001988/0.002005, allocations: 2.014 MB / 342.9 MB, free: 6.344 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.003265, allocations: 1.309 MB / 344.2 MB, free: 5.027 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.019e-05/0.003346, allocations: 8 kB / 344.2 MB, free: 5.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005789/0.003925, allocations: 319 kB / 344.5 MB, free: 4.707 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003181/0.004243, allocations: 278.9 kB / 344.8 MB, free: 4.434 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.004535, allocations: 239.3 kB / 345 MB, free: 4.199 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000229/0.004764, allocations: 367 kB / 345.4 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.032e-05/0.004854, allocations: 28.56 kB / 345.4 MB, free: 3.812 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.004991, allocations: 191.5 kB / 345.6 MB, free: 3.625 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.005104, allocations: 143.6 kB / 345.8 MB, free: 3.484 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.005128, allocations: 20 kB / 345.8 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.005247, allocations: 99.78 kB / 345.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.876e-05/0.005315, allocations: 95.69 kB / 346 MB, free: 3.273 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.729e-05/0.005373, allocations: 75.7 kB / 346 MB, free: 3.199 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.005607, allocations: 278.9 kB / 346.3 MB, free: 2.926 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005609, allocations: 4 kB / 346.3 MB, free: 2.922 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.00561, allocations: 4 kB / 346.3 MB, free: 2.918 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.005614, allocations: 0 / 346.3 MB, free: 2.918 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005531/0.006167, allocations: 0.7164 MB / 347 MB, free: 2.152 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.006198, allocations: 12.03 kB / 347 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.006258, allocations: 44.69 kB / 347.1 MB, free: 2.098 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.006482, allocations: 279.6 kB / 347.4 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.006503, allocations: 12.31 kB / 347.4 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.006518, allocations: 16.36 kB / 347.4 MB, free: 1.766 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.006649, allocations: 86.19 kB / 347.5 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.006658, allocations: 3.938 kB / 347.5 MB, free: 1.672 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.006669, allocations: 4 kB / 347.5 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.006678, allocations: 4 kB / 347.5 MB, free: 1.664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.499e-05/0.006733, allocations: 24.59 kB / 347.5 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.007086, allocations: 447.3 kB / 347.9 MB, free: 1.168 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.007227, allocations: 91.27 kB / 348 MB, free: 1.066 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.007267, allocations: 31.67 kB / 348.1 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.007278, allocations: 8 kB / 348.1 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/0.007391, allocations: 112 kB / 348.2 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.007392, allocations: 4 kB / 348.2 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002537/0.007646, allocations: 189.3 kB / 348.4 MB, free: 0.707 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.007675, allocations: 55.41 kB / 348.4 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.007903, allocations: 426.7 kB / 348.8 MB, free: 212 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.007914, allocations: 37.64 kB / 348.9 MB, free: 168 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.846e-05/0.008013, allocations: 227.1 kB / 349.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.008045, allocations: 39.67 kB / 349.1 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.008091, allocations: 55.36 kB / 349.2 MB, free: 15.83 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.008224, allocations: 0.5235 MB / 349.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.963e-05/0.008264, allocations: 23.98 kB / 349.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.984e-05/0.008363, allocations: 156.6 kB / 349.9 MB, free: 15.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.008477, allocations: 117.7 kB / 350 MB, free: 14.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.00848, allocations: 0 / 350 MB, free: 14.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000181/0.008661, allocations: 173.3 kB / 350.2 MB, free: 14.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.008672, allocations: 4 kB / 350.2 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.008677, allocations: 0 / 350.2 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.00869, allocations: 4 kB / 350.2 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.128e-05/0.008772, allocations: 31.86 kB / 350.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.008777, allocations: 0 / 350.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.497e-05/0.008832, allocations: 15.94 kB / 350.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.008843, allocations: 12.14 kB / 350.2 MB, free: 14.68 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 (flipFlopSR.y1,$PRE.flipFlopSR.y1,flipFlopSR.y2,$PRE.flipFlopSR.y2,$PRE.resetSIGNAL.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.setSIGNAL.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,resetSIGNAL.combiTimeTable.nextTimeEventScaled,$PRE.resetSIGNAL.combiTimeTable.nextTimeEventScaled,resetSIGNAL.combiTimeTable.nextTimeEvent,resetSIGNAL.y,setSIGNAL.combiTimeTable.nextTimeEventScaled,$PRE.setSIGNAL.combiTimeTable.nextTimeEventScaled,setSIGNAL.combiTimeTable.nextTimeEvent,setSIGNAL.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.819e-05/0.008941, allocations: 183.3 kB / 350.4 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.008975, allocations: 43.75 kB / 350.5 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.009199, allocations: 175.5 kB / 350.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.009201, allocations: 3.938 kB / 350.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.009205, allocations: 3.938 kB / 350.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.009208, allocations: 0 / 350.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.009383, allocations: 248.4 kB / 350.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.009384, allocations: 0 / 350.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.009411, allocations: 11.98 kB / 350.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.009414, allocations: 8 kB / 350.9 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.009424, allocations: 4 kB / 350.9 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.009425, allocations: 0 / 350.9 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.009427, allocations: 4 kB / 350.9 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.009648, allocations: 220.1 kB / 351.1 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.009679, allocations: 31.81 kB / 351.2 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.009704, allocations: 3.984 kB / 351.2 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.97e-05/0.009744, allocations: 8 kB / 351.2 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.009788, allocations: 23.91 kB / 351.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.0098, allocations: 4 kB / 351.2 MB, free: 13.65 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001726/0.009973, allocations: 299 kB / 351.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009973, allocations: 0 / 351.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000184/0.01016, allocations: 59.89 kB / 351.5 MB, free: 13.3 MB / 282.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: 11 ($whenCondition3,$whenCondition2,$whenCondition1,flipFlopSR.y1,flipFlopSR.y2,setSIGNAL.y,setSIGNAL.combiTimeTable.nextTimeEvent,setSIGNAL.combiTimeTable.nextTimeEventScaled,resetSIGNAL.y,resetSIGNAL.combiTimeTable.nextTimeEvent,resetSIGNAL.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (flipFlopSR.y1,setSIGNAL.combiTimeTable.nextTimeEvent,resetSIGNAL.combiTimeTable.nextTimeEvent,setSIGNAL.combiTimeTable.nextTimeEventScaled,resetSIGNAL.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007844/0.01094, allocations: 412.4 kB / 352 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.01117, allocations: 103.4 kB / 352.1 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01118, allocations: 0 / 352.1 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.16e-05/0.01124, allocations: 53.95 kB / 352.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.01149, allocations: 88.67 kB / 352.2 MB, free: 12.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005137/0.012, allocations: 459.2 kB / 352.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.566e-05/0.01206, allocations: 108.2 kB / 352.7 MB, free: 12.19 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.47e-05/0.01212, allocations: 34.95 kB / 352.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/0.01217, allocations: 36.48 kB / 352.8 MB, free: 12.12 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01217, allocations: 0 / 352.8 MB, free: 12.12 MB / 282.7 MB Notification: Performance of Templates: time 0.006444/0.01862, allocations: 4.605 MB / 357.4 MB, free: 7.582 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.sim & ./IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8689923100173473]