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.001287/0.001287, allocations: 80.81 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.001517/0.001517, allocations: 173 kB / 23.36 MB, free: 1.129 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.937/0.937, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.0505/0.0505, allocations: 8.619 MB / 268.9 MB, free: 4.777 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.994e-06/1.994e-06, allocations: 0 / 288 MB, free: 1.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.15e-05, allocations: 2.312 kB / 288 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop): time 0.1152/0.1153, allocations: 2.005 MB / 290.1 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.117, allocations: 1.324 MB / 291.4 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.1171, allocations: 5.281 kB / 291.4 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007334/0.1179, allocations: 319.1 kB / 291.7 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004956/0.1184, allocations: 268.2 kB / 292 MB, free: 18.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005209/0.1189, allocations: 242.1 kB / 292.2 MB, free: 18.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004024/0.1193, allocations: 368.4 kB / 292.5 MB, free: 18.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1194, allocations: 29.09 kB / 292.6 MB, free: 18.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.1196, allocations: 195.4 kB / 292.8 MB, free: 18.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.1198, allocations: 143.6 kB / 292.9 MB, free: 18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.1199, allocations: 17.19 kB / 292.9 MB, free: 18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.1201, allocations: 103.8 kB / 293 MB, free: 17.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.884e-05/0.1202, allocations: 94.31 kB / 293.1 MB, free: 17.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.78e-05/0.1203, allocations: 73.69 kB / 293.2 MB, free: 17.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.1206, allocations: 284.9 kB / 293.5 MB, free: 17.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1206, allocations: 1.062 kB / 293.5 MB, free: 17.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1206, allocations: 1.188 kB / 293.5 MB, free: 17.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.1206, allocations: 0 / 293.5 MB, free: 17.88 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.0006167/0.1212, allocations: 0.5707 MB / 294 MB, free: 17.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.1213, allocations: 9.312 kB / 294.1 MB, free: 17.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.1213, allocations: 25.72 kB / 294.1 MB, free: 17.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.1216, allocations: 261.6 kB / 294.3 MB, free: 17.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.1216, allocations: 9.359 kB / 294.3 MB, free: 17.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.1216, allocations: 12.72 kB / 294.4 MB, free: 17.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.1217, allocations: 80.84 kB / 294.4 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.1218, allocations: 3.938 kB / 294.4 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1218, allocations: 6.641 kB / 294.4 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1218, allocations: 6.875 kB / 294.4 MB, free: 17.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.421e-05/0.1218, allocations: 23.17 kB / 294.5 MB, free: 17.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.1221, allocations: 251.1 kB / 294.7 MB, free: 17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.1223, allocations: 120.8 kB / 294.8 MB, free: 16.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.231e-05/0.1223, allocations: 27.44 kB / 294.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.1223, allocations: 3.547 kB / 294.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.1224, allocations: 96.22 kB / 295 MB, free: 16.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 2.414e-06/0.1224, allocations: 1.266 kB / 295 MB, free: 16.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001816/0.1226, allocations: 108.2 kB / 295.1 MB, free: 16.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.1226, allocations: 66.45 kB / 295.1 MB, free: 16.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.1229, allocations: 354.6 kB / 295.5 MB, free: 16.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.1229, allocations: 31.89 kB / 295.5 MB, free: 16.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.123, allocations: 128 kB / 295.6 MB, free: 16.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.123, allocations: 41.34 kB / 295.7 MB, free: 16.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.123, allocations: 47.42 kB / 295.7 MB, free: 16.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.24e-05/0.1231, allocations: 351.5 kB / 296.1 MB, free: 16.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.205e-05/0.1231, allocations: 18.48 kB / 296.1 MB, free: 16.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.496e-05/0.1232, allocations: 125.3 kB / 296.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.555e-05/0.1233, allocations: 108.7 kB / 296.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1233, allocations: 0.9375 kB / 296.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001422/0.1234, allocations: 122.2 kB / 296.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1234, allocations: 5.875 kB / 296.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1234, allocations: 1.094 kB / 296.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1234, allocations: 4.406 kB / 296.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/0.1235, allocations: 29.44 kB / 296.5 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.1235, allocations: 3.094 kB / 296.5 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.808e-05/0.1236, allocations: 22.03 kB / 296.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1236, allocations: 14.69 kB / 296.5 MB, free: 15.72 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 7.488e-05/0.1237, allocations: 130 kB / 296.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.1237, allocations: 27.89 kB / 296.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.1239, allocations: 112.6 kB / 296.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1239, allocations: 2.062 kB / 296.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.1239, allocations: 9.891 kB / 296.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1239, allocations: 7.203 kB / 296.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.124, allocations: 144 kB / 296.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.124, allocations: 0 / 296.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.1241, allocations: 9.656 kB / 296.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1241, allocations: 2.5 kB / 296.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1241, allocations: 6.656 kB / 297 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1241, allocations: 1.781 kB / 297 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1241, allocations: 2.656 kB / 297 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.1242, allocations: 135.2 kB / 297.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.1242, allocations: 42.47 kB / 297.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.1243, allocations: 3.906 kB / 297.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.795e-05/0.1243, allocations: 12.56 kB / 297.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.1243, allocations: 15.06 kB / 297.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.1244, allocations: 6.094 kB / 297.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001413/0.1245, allocations: 156.2 kB / 297.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1245, allocations: 0 / 297.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002227/0.1247, allocations: 58.41 kB / 297.4 MB, free: 15.25 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.001092/0.1258, allocations: 0.5273 MB / 297.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001584/0.126, allocations: 84.16 kB / 298 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.126, allocations: 3.375 kB / 298 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.467e-05/0.126, allocations: 44.98 kB / 298 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.1263, allocations: 99.38 kB / 298.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005374/0.1268, allocations: 455 kB / 298.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.721e-05/0.1269, allocations: 104 kB / 298.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.127, allocations: 41.86 kB / 298.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.1271, allocations: 100.5 kB / 298.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1271, allocations: 0 / 298.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of Templates: time 0.007233/0.1343, allocations: 4.671 MB / 303.5 MB, free: 12.89 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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 242.62850147299469]