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.001483/0.001483, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001701/0.001701, allocations: 173 kB / 23.49 MB, free: 1.055 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.048/1.048, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.04681/0.04681, allocations: 8.61 MB / 268.9 MB, free: 4.961 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.443e-06/1.443e-06, allocations: 0 / 340.9 MB, free: 8.723 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.794e-05, allocations: 2.312 kB / 340.9 MB, free: 8.719 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop): time 0.003063/0.003091, allocations: 2.017 MB / 342.9 MB, free: 6.688 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.004816, allocations: 1.302 MB / 344.2 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.004942, allocations: 3.938 kB / 344.2 MB, free: 5.375 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008332/0.005775, allocations: 327 kB / 344.5 MB, free: 5.055 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005576/0.006333, allocations: 270.9 kB / 344.8 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005591/0.006892, allocations: 239.3 kB / 345 MB, free: 4.555 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009076/0.007799, allocations: 367 kB / 345.4 MB, free: 4.195 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.007943, allocations: 32.5 kB / 345.4 MB, free: 4.164 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002902/0.008234, allocations: 191.5 kB / 345.6 MB, free: 3.977 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.008437, allocations: 143.6 kB / 345.7 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.008473, allocations: 20 kB / 345.8 MB, free: 3.816 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.008686, allocations: 103.8 kB / 345.9 MB, free: 3.715 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.008796, allocations: 99.67 kB / 346 MB, free: 3.617 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.8e-05/0.008884, allocations: 75.7 kB / 346 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004065/0.009291, allocations: 278.9 kB / 346.3 MB, free: 3.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.009296, allocations: 0 / 346.3 MB, free: 3.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.009297, allocations: 4 kB / 346.3 MB, free: 3.266 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.009303, allocations: 0 / 346.3 MB, free: 3.266 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.0008049/0.01011, allocations: 0.7125 MB / 347 MB, free: 2.504 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.01015, allocations: 12.03 kB / 347 MB, free: 2.492 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.01025, allocations: 52.69 kB / 347.1 MB, free: 2.441 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.01065, allocations: 279.6 kB / 347.4 MB, free: 2.137 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.01068, allocations: 8.375 kB / 347.4 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.0107, allocations: 16.3 kB / 347.4 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.01093, allocations: 88.69 kB / 347.5 MB, free: 2.023 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.01094, allocations: 3.938 kB / 347.5 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.01095, allocations: 0 / 347.5 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.01096, allocations: 4 kB / 347.5 MB, free: 2.016 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.583e-05/0.01106, allocations: 27.97 kB / 347.5 MB, free: 1.988 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006374/0.0117, allocations: 451.3 kB / 347.9 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.0119, allocations: 91.33 kB / 348 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.499e-05/0.01197, allocations: 31.61 kB / 348.1 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.01198, allocations: 4 kB / 348.1 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.01216, allocations: 112.9 kB / 348.2 MB, free: 1.246 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.773e-06/0.01216, allocations: 0 / 348.2 MB, free: 1.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004049/0.01257, allocations: 193.4 kB / 348.4 MB, free: 1.051 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.0126, allocations: 59.34 kB / 348.4 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003934/0.013, allocations: 430.7 kB / 348.8 MB, free: 0.543 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.01302, allocations: 29.7 kB / 348.9 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.01313, allocations: 227 kB / 349.1 MB, free: 284 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.01317, allocations: 47.67 kB / 349.1 MB, free: 236 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.035e-05/0.01323, allocations: 43.36 kB / 349.2 MB, free: 184 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.0134, allocations: 0.5274 MB / 349.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.116e-05/0.01346, allocations: 19.98 kB / 349.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.0136, allocations: 156.6 kB / 349.9 MB, free: 15.42 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.01377, allocations: 125.7 kB / 350 MB, free: 15.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01377, allocations: 0 / 350 MB, free: 15.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003101/0.01408, allocations: 165.3 kB / 350.2 MB, free: 15.1 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.0141, allocations: 4 kB / 350.2 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.01411, allocations: 8.156 kB / 350.2 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.01413, allocations: 0 / 350.2 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.01426, allocations: 35.86 kB / 350.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.01427, allocations: 4 kB / 350.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.01438, allocations: 15.92 kB / 350.2 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.01439, allocations: 8 kB / 350.2 MB, free: 15.02 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.0001368/0.01453, allocations: 175.3 kB / 350.4 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.01459, allocations: 43.77 kB / 350.5 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003403/0.01493, allocations: 172.7 kB / 350.6 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01493, allocations: 4 kB / 350.6 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.01494, allocations: 3.938 kB / 350.6 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01494, allocations: 0 / 350.6 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.01521, allocations: 252.3 kB / 350.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.01521, allocations: 0 / 350.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.02e-05/0.01526, allocations: 15.98 kB / 350.9 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.01526, allocations: 0 / 350.9 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.01527, allocations: 0 / 350.9 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.01528, allocations: 4 kB / 350.9 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.01528, allocations: 0 / 350.9 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.01558, allocations: 223.8 kB / 351.1 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.01563, allocations: 35.8 kB / 351.2 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.01567, allocations: 4 kB / 351.2 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.142e-05/0.01575, allocations: 7.938 kB / 351.2 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.01582, allocations: 23.91 kB / 351.2 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.01584, allocations: 4 kB / 351.2 MB, free: 14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003013/0.01614, allocations: 295.1 kB / 351.5 MB, free: 13.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01614, allocations: 3.938 kB / 351.5 MB, free: 13.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003489/0.01649, allocations: 63.88 kB / 351.5 MB, free: 13.65 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.001168/0.01766, allocations: 413.1 kB / 352 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.01792, allocations: 98.33 kB / 352 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.01793, allocations: 4.062 kB / 352.1 MB, free: 13.28 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.955e-05/0.01803, allocations: 51.61 kB / 352.1 MB, free: 13.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.01844, allocations: 86.75 kB / 352.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008093/0.01925, allocations: 458.9 kB / 352.6 MB, free: 12.67 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.526e-05/0.01934, allocations: 108.2 kB / 352.7 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.01946, allocations: 42.94 kB / 352.8 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.676e-05/0.01953, allocations: 32.48 kB / 352.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01953, allocations: 0 / 352.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of Templates: time 0.009149/0.02868, allocations: 4.299 MB / 357.1 MB, free: 8.23 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.9742773990146816]