Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_IndustrialControlSystems.Logical.LogicalOperations.Examples.FlipFlop.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.0009293/0.0009293, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009384/0.001868, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001086/0.001086, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001517/0.002603, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9772/0.9772, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08742/1.065, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.041/0.041, allocations: 9.782 MB / 253.7 MB, free: 5.605 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006354/0.04735, allocations: 3.486 MB / 257.2 MB, free: 2.113 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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.FlipFlop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Logical.LogicalOperations.Examples.FlipFlop") translateModel(IndustrialControlSystems.Logical.LogicalOperations.Examples.FlipFlop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Logical.LogicalOperations.Examples.FlipFlop") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 258.5 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.8e-05, allocations: 6.312 kB / 258.5 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.FlipFlop): time 0.003493/0.003521, allocations: 2.045 MB / 260.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.00581, allocations: 1.336 MB / 261.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.005956, allocations: 3.938 kB / 261.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006043/0.006561, allocations: 299.1 kB / 262.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003795/0.00694, allocations: 275 kB / 262.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.007368, allocations: 262 kB / 262.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003514/0.007719, allocations: 355 kB / 263.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.007821, allocations: 34.47 kB / 263.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003/0.008121, allocations: 261.6 kB / 263.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.008264, allocations: 147.6 kB / 263.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.008289, allocations: 16 kB / 263.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.008455, allocations: 103.9 kB / 263.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.036e-05/0.008535, allocations: 75.78 kB / 263.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.598e-05/0.008591, allocations: 59.81 kB / 263.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.00886, allocations: 262.9 kB / 264 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.268e-05/0.008873, allocations: 0 / 264 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.008874, allocations: 3.938 kB / 264 MB, free: 11.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.008885, allocations: 0 / 264 MB, free: 11.32 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.0006883/0.009573, allocations: 0.6344 MB / 264.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.009604, allocations: 8.031 kB / 264.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.009649, allocations: 24.91 kB / 264.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.009893, allocations: 260.7 kB / 264.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.009911, allocations: 12.28 kB / 264.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.009924, allocations: 12.38 kB / 264.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.01005, allocations: 81.02 kB / 265 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.01005, allocations: 3.938 kB / 265 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.01006, allocations: 3.984 kB / 265 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.01007, allocations: 4 kB / 265 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.104e-05/0.01011, allocations: 27.05 kB / 265.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.01044, allocations: 241.8 kB / 265.3 MB, free: 9.934 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.01058, allocations: 121.1 kB / 265.4 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.66e-05/0.01062, allocations: 24.84 kB / 265.4 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.01063, allocations: 7.938 kB / 265.4 MB, free: 9.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.01078, allocations: 98.14 kB / 265.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.01078, allocations: 0 / 265.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001956/0.01097, allocations: 109.6 kB / 265.6 MB, free: 9.547 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.01101, allocations: 59.34 kB / 265.7 MB, free: 9.477 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003742/0.01138, allocations: 357 kB / 266.1 MB, free: 9.113 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.0114, allocations: 33.7 kB / 266.1 MB, free: 9.074 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.189e-05/0.01147, allocations: 129.3 kB / 266.2 MB, free: 8.941 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.0115, allocations: 43.67 kB / 266.3 MB, free: 8.898 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.01156, allocations: 41.67 kB / 266.3 MB, free: 8.852 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.197e-05/0.01165, allocations: 350.7 kB / 266.6 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.284e-05/0.01168, allocations: 18.81 kB / 266.7 MB, free: 8.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.108e-05/0.01176, allocations: 127.1 kB / 266.8 MB, free: 8.316 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.01187, allocations: 110.3 kB / 266.9 MB, free: 8.184 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.01187, allocations: 7.938 kB / 266.9 MB, free: 8.176 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001624/0.01204, allocations: 119.2 kB / 267 MB, free: 8.051 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.01205, allocations: 8 kB / 267 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.01205, allocations: 0 / 267 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.01206, allocations: 4 kB / 267 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.338e-05/0.01216, allocations: 27.92 kB / 267.1 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.01216, allocations: 8.141 kB / 267.1 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.01224, allocations: 23.88 kB / 267.1 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.01225, allocations: 4 kB / 267.1 MB, free: 7.977 MB / 266.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.17e-05/0.01234, allocations: 135.2 kB / 267.2 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.01237, allocations: 20.11 kB / 267.2 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.01253, allocations: 120.7 kB / 267.4 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01253, allocations: 4 kB / 267.4 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.01254, allocations: 0 / 267.4 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.01254, allocations: 3.938 kB / 267.4 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.01269, allocations: 157.7 kB / 267.5 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01269, allocations: 3.938 kB / 267.5 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.01273, allocations: 12 kB / 267.5 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.01277, allocations: 31.75 kB / 267.6 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01277, allocations: 3.984 kB / 267.6 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.01278, allocations: 0 / 267.6 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01278, allocations: 4 kB / 267.6 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01278, allocations: 0 / 267.6 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.01292, allocations: 134.6 kB / 267.7 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.01296, allocations: 8 kB / 267.7 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.533e-05/0.01301, allocations: 11.98 kB / 267.7 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.01305, allocations: 15.92 kB / 267.7 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.01306, allocations: 7.984 kB / 267.7 MB, free: 7.262 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001557/0.01322, allocations: 163.5 kB / 267.9 MB, free: 7.098 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01322, allocations: 0 / 267.9 MB, free: 7.098 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002362/0.01345, allocations: 55.94 kB / 268 MB, free: 7.043 MB / 266.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.001408/0.01486, allocations: 0.5792 MB / 268.5 MB, free: 6.707 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.01501, allocations: 95.66 kB / 268.6 MB, free: 6.613 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/0.01502, allocations: 4 kB / 268.6 MB, free: 6.609 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.596e-05/0.01507, allocations: 40.83 kB / 268.7 MB, free: 6.566 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.01533, allocations: 110.4 kB / 268.8 MB, free: 6.465 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007058/0.01604, allocations: 458.8 kB / 269.2 MB, free: 5.984 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.713e-05/0.0161, allocations: 104.2 kB / 269.3 MB, free: 5.863 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.249e-05/0.01619, allocations: 47.23 kB / 269.4 MB, free: 5.816 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.01632, allocations: 99.36 kB / 269.5 MB, free: 5.719 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01633, allocations: 0 / 269.5 MB, free: 5.719 MB / 266.7 MB Notification: Performance of Templates: time 0.007959/0.02428, allocations: 4.735 MB / 274.2 MB, free: 1.047 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Logical.LogicalOperations.Examples.FlipFlop.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Logical.LogicalOperations.Examples.FlipFlop.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Logical.LogicalOperations.Examples.FlipFlop.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Logical.LogicalOperations.Examples.FlipFlop.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Logical.LogicalOperations.Examples.FlipFlop.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Logical.LogicalOperations.Examples.FlipFlop -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Logical.LogicalOperations.Examples.FlipFlop.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.594514607451856]