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.001417/0.001417, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001747/0.001747, allocations: 213 kB / 23.01 MB, free: 4.566 MB / 14.72 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 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.08007/0.08007, allocations: 11.33 MB / 324.5 MB, free: 8.246 MB / 254.1 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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 68.19 kB / 452.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1173, allocations: 56.06 MB / 0.4964 GB, free: 1.852 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop): time 0.00391/0.1213, allocations: 2.009 MB / 0.4984 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.1239, allocations: 1.368 MB / 0.4997 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.1241, allocations: 11.88 kB / 0.4998 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.1251, allocations: 331.1 kB / 0.5001 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007178/0.1258, allocations: 263.1 kB / 0.5003 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007153/0.1265, allocations: 242.9 kB / 0.5006 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005309/0.1271, allocations: 359.1 kB / 0.5009 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.1272, allocations: 28.58 kB / 0.5009 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003333/0.1275, allocations: 155.4 kB / 0.5011 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.1278, allocations: 167.3 kB / 0.5012 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.1279, allocations: 16 kB / 0.5012 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002574/0.1281, allocations: 107.9 kB / 0.5014 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.1283, allocations: 87.69 kB / 0.5014 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.1284, allocations: 135.1 kB / 0.5016 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005602/0.129, allocations: 382.3 kB / 0.5019 GB, free: 12.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.129, allocations: 0 / 0.5019 GB, free: 12.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.129, allocations: 0 / 0.5019 GB, free: 12.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.692e-05/0.129, allocations: 4 kB / 0.5019 GB, free: 12.21 MB / 382.1 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.001231/0.1302, allocations: 0.6226 MB / 0.5025 GB, free: 11.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1303, allocations: 8.031 kB / 0.5025 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.1304, allocations: 36.7 kB / 0.5026 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005796/0.131, allocations: 292.7 kB / 0.5029 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.131, allocations: 8.375 kB / 0.5029 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.131, allocations: 16.11 kB / 0.5029 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.1313, allocations: 130.7 kB / 0.503 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1313, allocations: 0 / 0.503 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.1314, allocations: 7.938 kB / 0.503 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1314, allocations: 0 / 0.503 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.1315, allocations: 59.95 kB / 0.5031 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007855/0.1323, allocations: 451.5 kB / 0.5035 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003546/0.1327, allocations: 118.8 kB / 0.5036 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.1328, allocations: 44.83 kB / 0.5037 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.1328, allocations: 0 / 0.5037 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002858/0.1331, allocations: 123.3 kB / 0.5038 GB, free: 10.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.442e-06/0.1331, allocations: 0 / 0.5038 GB, free: 10.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006053/0.1337, allocations: 239.4 kB / 0.504 GB, free: 9.934 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.716e-05/0.1338, allocations: 118.7 kB / 0.5041 GB, free: 9.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007738/0.1346, allocations: 489.6 kB / 0.5046 GB, free: 9.301 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.1346, allocations: 37.69 kB / 0.5046 GB, free: 9.258 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.1348, allocations: 172.4 kB / 0.5048 GB, free: 9.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/0.1348, allocations: 39.69 kB / 0.5048 GB, free: 9.043 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.39e-05/0.1349, allocations: 41.7 kB / 0.5049 GB, free: 8.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.1351, allocations: 350.7 kB / 0.5052 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.1352, allocations: 43.98 kB / 0.5052 GB, free: 8.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.1354, allocations: 129.3 kB / 0.5054 GB, free: 8.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.1357, allocations: 133.9 kB / 0.5055 GB, free: 8.289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1357, allocations: 0 / 0.5055 GB, free: 8.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003951/0.1361, allocations: 201.2 kB / 0.5057 GB, free: 8.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1361, allocations: 4 kB / 0.5057 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1361, allocations: 4 kB / 0.5057 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1361, allocations: 3.984 kB / 0.5057 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.1362, allocations: 24.16 kB / 0.5057 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.1362, allocations: 11.92 kB / 0.5057 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.1364, allocations: 15.95 kB / 0.5057 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.1364, allocations: 4.047 kB / 0.5057 GB, free: 8.02 MB / 382.1 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.0002072/0.1366, allocations: 192.4 kB / 0.5059 GB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.1366, allocations: 39.7 kB / 0.506 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004392/0.1371, allocations: 200.6 kB / 0.5062 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1371, allocations: 4 kB / 0.5062 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1371, allocations: 0 / 0.5062 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1371, allocations: 4 kB / 0.5062 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.1374, allocations: 280.4 kB / 0.5064 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1374, allocations: 0 / 0.5064 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.1375, allocations: 15.92 kB / 0.5065 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1375, allocations: 0 / 0.5065 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.1375, allocations: 8 kB / 0.5065 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.1375, allocations: 0 / 0.5065 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1375, allocations: 0 / 0.5065 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004083/0.1379, allocations: 217.7 kB / 0.5067 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.07e-05/0.138, allocations: 47.56 kB / 0.5067 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.147e-05/0.138, allocations: 8 kB / 0.5067 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.476e-05/0.1381, allocations: 7.984 kB / 0.5067 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.1382, allocations: 11.98 kB / 0.5067 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.1382, allocations: 7.984 kB / 0.5067 GB, free: 6.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004632/0.1387, allocations: 363.1 kB / 0.5071 GB, free: 6.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1387, allocations: 4 kB / 0.5071 GB, free: 6.574 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003527/0.139, allocations: 51.94 kB / 0.5071 GB, free: 6.523 MB / 382.1 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 (15): * Single equations (assignments): 9 * 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.00164/0.1407, allocations: 441 kB / 0.5076 GB, free: 6.242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003531/0.141, allocations: 119.9 kB / 0.5077 GB, free: 6.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.738e-06/0.141, allocations: 320 / 0.5077 GB, free: 6.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.1412, allocations: 55.92 kB / 0.5077 GB, free: 6.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.1416, allocations: 82.52 kB / 0.5078 GB, free: 5.996 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1427, allocations: 0.5713 MB / 0.5084 GB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/0.1432, allocations: 0.7755 MB / 0.5091 GB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.177e-05/0.1432, allocations: 35.42 kB / 0.5092 GB, free: 4.559 MB / 382.1 MB Notification: Performance of SimCode: time 5.92e-07/0.1432, allocations: 0 / 0.5092 GB, free: 4.559 MB / 382.1 MB Notification: Performance of Templates: time 0.008963/0.1522, allocations: 4.551 MB / 0.5136 GB, free: 24 kB / 382.1 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: 7.980023554991931] Failed to read output from testmodel.py, exit status != 0: 0.36379383807070553 0.37449980799999993 0.24284741499999996 Calling exit ...