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.0009318/0.0009318, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009325/0.0009325, allocations: 181 kB / 23.36 MB, free: 1.133 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.9617/0.9617, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.03787/0.03787, allocations: 8.624 MB / 268.9 MB, free: 4.797 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.513e-06/1.513e-06, allocations: 0 / 288.1 MB, free: 1.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.436e-05, allocations: 2.312 kB / 288.1 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop): time 0.1157/0.1157, allocations: 2.043 MB / 290.1 MB, free: 19.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1172, allocations: 1.327 MB / 291.5 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1174, allocations: 3.25 kB / 291.5 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000664/0.118, allocations: 320.9 kB / 291.8 MB, free: 18.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003878/0.1184, allocations: 262 kB / 292 MB, free: 18.72 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.1189, allocations: 242.3 kB / 292.3 MB, free: 18.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.1192, allocations: 362.6 kB / 292.6 MB, free: 18.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.685e-05/0.1193, allocations: 29.56 kB / 292.7 MB, free: 18.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.1195, allocations: 195.6 kB / 292.9 MB, free: 18.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.1197, allocations: 146.3 kB / 293 MB, free: 18.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.1197, allocations: 17.88 kB / 293 MB, free: 18.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.1199, allocations: 103.5 kB / 293.1 MB, free: 18.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.936e-05/0.12, allocations: 96.53 kB / 293.2 MB, free: 18.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.531e-05/0.12, allocations: 76.05 kB / 293.3 MB, free: 18.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.1203, allocations: 277.9 kB / 293.6 MB, free: 18.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1203, allocations: 4.906 kB / 293.6 MB, free: 18.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1203, allocations: 0.5625 kB / 293.6 MB, free: 18.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1203, allocations: 0 / 293.6 MB, free: 18.09 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.0005105/0.1208, allocations: 0.566 MB / 294.1 MB, free: 17.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.1209, allocations: 14.41 kB / 294.1 MB, free: 17.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.536e-05/0.1209, allocations: 27.91 kB / 294.2 MB, free: 17.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.1212, allocations: 262.9 kB / 294.4 MB, free: 17.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1212, allocations: 5.094 kB / 294.4 MB, free: 17.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.1212, allocations: 11.5 kB / 294.4 MB, free: 17.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.1213, allocations: 85.16 kB / 294.5 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1213, allocations: 5.062 kB / 294.5 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1213, allocations: 1.906 kB / 294.5 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1214, allocations: 2.688 kB / 294.5 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.407e-05/0.1214, allocations: 20.33 kB / 294.6 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.1217, allocations: 255.1 kB / 294.8 MB, free: 17.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.1218, allocations: 122.1 kB / 294.9 MB, free: 17.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.118e-05/0.1218, allocations: 20.31 kB / 294.9 MB, free: 17.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.1219, allocations: 2.375 kB / 294.9 MB, free: 17.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.122, allocations: 106.6 kB / 295.1 MB, free: 16.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.122, allocations: 2.094 kB / 295.1 MB, free: 16.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001695/0.1221, allocations: 110.1 kB / 295.2 MB, free: 16.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.1222, allocations: 58.16 kB / 295.2 MB, free: 16.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.1224, allocations: 353 kB / 295.6 MB, free: 16.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1224, allocations: 34.48 kB / 295.6 MB, free: 16.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.1225, allocations: 130.8 kB / 295.7 MB, free: 16.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.1225, allocations: 49.89 kB / 295.8 MB, free: 16.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.1225, allocations: 39.45 kB / 295.8 MB, free: 16.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.949e-05/0.1226, allocations: 351.5 kB / 296.2 MB, free: 16.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.737e-05/0.1226, allocations: 16.72 kB / 296.2 MB, free: 16.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-05/0.1227, allocations: 127.4 kB / 296.3 MB, free: 16.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.493e-05/0.1228, allocations: 105.6 kB / 296.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1228, allocations: 1.094 kB / 296.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001397/0.1229, allocations: 123.2 kB / 296.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.1229, allocations: 6.531 kB / 296.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1229, allocations: 1.781 kB / 296.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1229, allocations: 3.406 kB / 296.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.775e-05/0.123, allocations: 32.91 kB / 296.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.123, allocations: 4.094 kB / 296.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.1231, allocations: 20.66 kB / 296.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.1231, allocations: 9.906 kB / 296.6 MB, free: 15.85 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 6.903e-05/0.1232, allocations: 132.9 kB / 296.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.1232, allocations: 24.81 kB / 296.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.1233, allocations: 117.6 kB / 296.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1233, allocations: 3.75 kB / 296.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.1233, allocations: 0 / 296.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1233, allocations: 8.016 kB / 296.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.1235, allocations: 142.6 kB / 297 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1235, allocations: 0.875 kB / 297 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.865e-05/0.1235, allocations: 16.52 kB / 297 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1235, allocations: 1.844 kB / 297 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.1235, allocations: 8.484 kB / 297 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1235, allocations: 0 / 297 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1235, allocations: 1.797 kB / 297 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.1236, allocations: 138.9 kB / 297.2 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.1237, allocations: 33.75 kB / 297.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.1237, allocations: 7.641 kB / 297.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.163e-05/0.1237, allocations: 6.984 kB / 297.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.1238, allocations: 20.45 kB / 297.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.1238, allocations: 5.297 kB / 297.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001391/0.1239, allocations: 165.5 kB / 297.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1239, allocations: 0 / 297.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001895/0.1241, allocations: 57.53 kB / 297.5 MB, free: 15.38 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.00105/0.1252, allocations: 0.5231 MB / 298 MB, free: 15.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.1253, allocations: 86.42 kB / 298.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.1253, allocations: 3.562 kB / 298.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.219e-05/0.1254, allocations: 38.66 kB / 298.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.1256, allocations: 93.58 kB / 298.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.126, allocations: 459.1 kB / 298.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.421e-05/0.1261, allocations: 113.2 kB / 298.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.986e-05/0.1262, allocations: 37.92 kB / 298.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.1263, allocations: 95.83 kB / 298.9 MB, free: 14.76 MB / 266.7 MB Notification: Performance of SimCode: time 1.262e-06/0.1263, allocations: 3.938 kB / 298.9 MB, free: 14.76 MB / 266.7 MB Notification: Performance of Templates: time 0.006746/0.133, allocations: 4.673 MB / 303.6 MB, free: 13 MB / 266.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.69270101794973]