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.002239/0.002239, allocations: 85.48 kB / 19.44 MB, free: 344 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.002164/0.002164, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.601/1.601, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.07405/0.07405, allocations: 8.62 MB / 268.2 MB, free: 4.945 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.683e-06/1.683e-06, allocations: 0 / 340.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.481e-05, allocations: 2.312 kB / 340.1 MB, free: 8.738 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop): time 0.002566/0.002591, allocations: 1.991 MB / 342.1 MB, free: 6.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.004343, allocations: 1.294 MB / 343.4 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.004456, allocations: 3.938 kB / 343.4 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007476/0.005204, allocations: 330.9 kB / 343.8 MB, free: 5.102 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004655/0.005669, allocations: 271 kB / 344 MB, free: 4.836 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/0.006092, allocations: 239.2 kB / 344.3 MB, free: 4.602 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000275/0.006367, allocations: 367 kB / 344.6 MB, free: 4.242 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.006468, allocations: 28.56 kB / 344.6 MB, free: 4.215 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.006658, allocations: 195.5 kB / 344.8 MB, free: 4.023 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.006811, allocations: 139.7 kB / 345 MB, free: 3.887 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.006851, allocations: 23.98 kB / 345 MB, free: 3.863 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.007022, allocations: 95.86 kB / 345.1 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.612e-05/0.007109, allocations: 95.67 kB / 345.2 MB, free: 3.676 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.116e-05/0.00719, allocations: 87.64 kB / 345.3 MB, free: 3.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.007537, allocations: 382.7 kB / 345.6 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.00754, allocations: 4 kB / 345.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.007541, allocations: 0 / 345.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.007546, allocations: 0 / 345.6 MB, free: 3.211 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.0007747/0.008321, allocations: 0.7395 MB / 346.4 MB, free: 2.422 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.00835, allocations: 8.031 kB / 346.4 MB, free: 2.414 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.981e-05/0.00843, allocations: 44.7 kB / 346.4 MB, free: 2.371 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.008773, allocations: 282.9 kB / 346.7 MB, free: 2.066 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.008791, allocations: 8.375 kB / 346.7 MB, free: 2.059 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.008809, allocations: 8.375 kB / 346.7 MB, free: 2.051 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.008996, allocations: 102.2 kB / 346.8 MB, free: 1.945 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.009007, allocations: 7.875 kB / 346.8 MB, free: 1.938 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.00902, allocations: 0 / 346.8 MB, free: 1.938 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.009026, allocations: 4 kB / 346.8 MB, free: 1.934 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.00915, allocations: 51.97 kB / 346.9 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/0.009716, allocations: 495.3 kB / 347.4 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.009961, allocations: 127.3 kB / 347.5 MB, free: 1.227 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.257e-05/0.01004, allocations: 43.67 kB / 347.5 MB, free: 1.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.01006, allocations: 4 kB / 347.5 MB, free: 1.176 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.01026, allocations: 135.5 kB / 347.7 MB, free: 1.031 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.01026, allocations: 0 / 347.7 MB, free: 1.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.000432/0.0107, allocations: 217.4 kB / 347.9 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.01072, allocations: 59.41 kB / 347.9 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003817/0.0111, allocations: 0.5026 MB / 348.5 MB, free: 228 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.01112, allocations: 29.7 kB / 348.5 MB, free: 192 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.0113, allocations: 251 kB / 348.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.484e-05/0.01136, allocations: 43.73 kB / 348.8 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-05/0.01145, allocations: 55.36 kB / 348.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003384/0.01178, allocations: 0.5547 MB / 349.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.01189, allocations: 35.92 kB / 349.4 MB, free: 15.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.01211, allocations: 181.1 kB / 349.6 MB, free: 15 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.01239, allocations: 149.7 kB / 349.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01239, allocations: 0 / 349.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003786/0.01277, allocations: 201.3 kB / 349.9 MB, free: 14.62 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.01278, allocations: 4 kB / 349.9 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.01279, allocations: 4 kB / 349.9 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.0128, allocations: 0 / 349.9 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.01293, allocations: 35.86 kB / 350 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.785e-05/0.013, allocations: 4 kB / 350 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.01311, allocations: 15.88 kB / 350 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.01313, allocations: 12 kB / 350 MB, free: 14.55 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 0.0001809/0.01331, allocations: 191.3 kB / 350.2 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.589e-05/0.0134, allocations: 39.77 kB / 350.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004232/0.01382, allocations: 196.7 kB / 350.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01382, allocations: 0 / 350.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.01383, allocations: 7.938 kB / 350.4 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.01383, allocations: 3.984 kB / 350.4 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.01423, allocations: 284.4 kB / 350.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01423, allocations: 0 / 350.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-05/0.0143, allocations: 28.05 kB / 350.7 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.0143, allocations: 0 / 350.7 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.01431, allocations: 3.984 kB / 350.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.01432, allocations: 8 kB / 350.8 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01432, allocations: 0 / 350.8 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004263/0.01475, allocations: 250.7 kB / 351 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.404e-05/0.01481, allocations: 27.81 kB / 351 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.505e-05/0.01485, allocations: 11.98 kB / 351 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.319e-05/0.01494, allocations: 4 kB / 351 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/0.01501, allocations: 19.91 kB / 351.1 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.01503, allocations: 4 kB / 351.1 MB, free: 13.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003954/0.01543, allocations: 339.1 kB / 351.4 MB, free: 13.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01543, allocations: 3.938 kB / 351.4 MB, free: 13.08 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002939/0.01572, allocations: 63.89 kB / 351.5 MB, free: 13.02 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.003015/0.01874, allocations: 461.4 kB / 351.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003555/0.01909, allocations: 136.4 kB / 352 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01909, allocations: 0 / 352 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.01925, allocations: 71.59 kB / 352.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.01969, allocations: 86.11 kB / 352.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008758/0.02056, allocations: 491 kB / 352.7 MB, free: 11.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.02075, allocations: 174.1 kB / 352.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.02087, allocations: 42.89 kB / 352.9 MB, free: 11.72 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.342e-05/0.02095, allocations: 32.48 kB / 352.9 MB, free: 11.69 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.02095, allocations: 0 / 352.9 MB, free: 11.69 MB / 282.7 MB Notification: Performance of Templates: time 0.00985/0.0308, allocations: 4.285 MB / 357.2 MB, free: 7.469 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: 4.718128853011876]