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.001415/0.001415, allocations: 92.7 kB / 19.44 MB, free: 324 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.001606/0.001606, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.473/1.473, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.06732/0.06732, allocations: 8.603 MB / 268.2 MB, free: 4.949 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.352e-06/1.352e-06, allocations: 0 / 340.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.284e-05, allocations: 2.312 kB / 340.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop): time 0.002575/0.002598, allocations: 1.944 MB / 342.1 MB, free: 6.781 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.004459, allocations: 1.266 MB / 343.3 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.004615, allocations: 11.94 kB / 343.4 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008521/0.005467, allocations: 326.9 kB / 343.7 MB, free: 5.176 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005738/0.006041, allocations: 271 kB / 343.9 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005405/0.006581, allocations: 239.3 kB / 344.2 MB, free: 4.676 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003496/0.006931, allocations: 367 kB / 344.5 MB, free: 4.316 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.007045, allocations: 28.56 kB / 344.6 MB, free: 4.289 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.007298, allocations: 195.5 kB / 344.8 MB, free: 4.098 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.007477, allocations: 143.6 kB / 344.9 MB, free: 3.957 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.007515, allocations: 20 kB / 344.9 MB, free: 3.938 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.00771, allocations: 95.86 kB / 345 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.062e-05/0.0078, allocations: 95.67 kB / 345.1 MB, free: 3.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.156e-05/0.007892, allocations: 79.7 kB / 345.2 MB, free: 3.672 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003802/0.008272, allocations: 386.6 kB / 345.6 MB, free: 3.293 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.008275, allocations: 0 / 345.6 MB, free: 3.293 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.008276, allocations: 4 kB / 345.6 MB, free: 3.289 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.008282, allocations: 0 / 345.6 MB, free: 3.289 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.0008378/0.00912, allocations: 0.6088 MB / 346.2 MB, free: 2.637 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.009151, allocations: 8.031 kB / 346.2 MB, free: 2.629 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.83e-05/0.009249, allocations: 40.7 kB / 346.2 MB, free: 2.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.009639, allocations: 300 kB / 346.5 MB, free: 2.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.009659, allocations: 4.375 kB / 346.5 MB, free: 2.266 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.009678, allocations: 12.38 kB / 346.5 MB, free: 2.254 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.009899, allocations: 112.2 kB / 346.6 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.00991, allocations: 3.938 kB / 346.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.009925, allocations: 4 kB / 346.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.00993, allocations: 3.984 kB / 346.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.01008, allocations: 59.97 kB / 346.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005202/0.0106, allocations: 396.1 kB / 347.1 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.01089, allocations: 138.7 kB / 347.2 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.011, allocations: 48.84 kB / 347.3 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.01102, allocations: 4 kB / 347.3 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/0.01123, allocations: 122.2 kB / 347.4 MB, free: 1.324 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.01124, allocations: 0 / 347.4 MB, free: 1.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005329/0.01177, allocations: 253.3 kB / 347.6 MB, free: 1.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.0118, allocations: 55.41 kB / 347.7 MB, free: 1.004 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.01223, allocations: 497.6 kB / 348.2 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.01224, allocations: 29.7 kB / 348.2 MB, free: 480 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.723e-05/0.01233, allocations: 172.4 kB / 348.4 MB, free: 300 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.01236, allocations: 39.72 kB / 348.4 MB, free: 260 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/0.01242, allocations: 45.7 kB / 348.5 MB, free: 208 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.01258, allocations: 346.7 kB / 348.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.01271, allocations: 47.97 kB / 348.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.01295, allocations: 171 kB / 349 MB, free: 15.6 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.01325, allocations: 150 kB / 349.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01326, allocations: 0 / 349.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004695/0.01373, allocations: 209.2 kB / 349.4 MB, free: 15.22 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.01374, allocations: 8 kB / 349.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.01375, allocations: 0 / 349.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.01377, allocations: 4 kB / 349.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.01391, allocations: 27.92 kB / 349.4 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.01392, allocations: 8.094 kB / 349.4 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.01405, allocations: 19.89 kB / 349.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.01407, allocations: 11.98 kB / 349.4 MB, free: 15.14 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.0002008/0.01427, allocations: 168.5 kB / 349.6 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-05/0.01435, allocations: 43.75 kB / 349.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005045/0.01485, allocations: 216.6 kB / 349.9 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.01486, allocations: 0 / 349.9 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.01486, allocations: 3.938 kB / 349.9 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.01487, allocations: 11.98 kB / 349.9 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.01518, allocations: 229.1 kB / 350.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01518, allocations: 0 / 350.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.204e-05/0.01523, allocations: 8.125 kB / 350.1 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01524, allocations: 0 / 350.1 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.01526, allocations: 11.98 kB / 350.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.01526, allocations: 0 / 350.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01526, allocations: 0 / 350.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000515/0.01577, allocations: 255.6 kB / 350.4 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.01584, allocations: 31.81 kB / 350.4 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.661e-05/0.01589, allocations: 7.984 kB / 350.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.01599, allocations: 8 kB / 350.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.01606, allocations: 19.91 kB / 350.4 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.01608, allocations: 8 kB / 350.5 MB, free: 14.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004949/0.01658, allocations: 359.1 kB / 350.8 MB, free: 13.74 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01658, allocations: 4 kB / 350.8 MB, free: 13.74 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003417/0.01692, allocations: 59.88 kB / 350.9 MB, free: 13.68 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.002307/0.01923, allocations: 472 kB / 351.3 MB, free: 13.4 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003864/0.01961, allocations: 131.8 kB / 351.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01962, allocations: 0 / 351.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.01978, allocations: 66.25 kB / 351.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005324/0.02032, allocations: 97.31 kB / 351.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.02134, allocations: 0.5401 MB / 352.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.02156, allocations: 178.5 kB / 352.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.02171, allocations: 46.95 kB / 352.4 MB, free: 12.31 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.473e-05/0.02179, allocations: 32.48 kB / 352.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02179, allocations: 0 / 352.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of Templates: time 0.01035/0.03215, allocations: 4.297 MB / 356.7 MB, free: 8.043 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.394796413951553]