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.001367/0.001367, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001586/0.001586, allocations: 209.1 kB / 22.24 MB, free: 5.262 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.801 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.06593/0.06593, allocations: 11.35 MB / 323.8 MB, free: 8.047 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.002078/0.002078, allocations: 63.89 kB / 451.5 MB, free: 9.848 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1215, allocations: 56.08 MB / 0.4956 GB, free: 1.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop): time 0.003663/0.1252, allocations: 1.929 MB / 0.4975 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.1277, allocations: 1.282 MB / 0.4988 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.1278, allocations: 0 / 0.4988 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009783/0.1288, allocations: 335.1 kB / 0.4991 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006423/0.1294, allocations: 275.1 kB / 0.4994 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00065/0.1301, allocations: 230.4 kB / 0.4996 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004689/0.1306, allocations: 363 kB / 0.4999 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.1307, allocations: 28.58 kB / 0.5 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.1309, allocations: 147.5 kB / 0.5001 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.1312, allocations: 167.3 kB / 0.5003 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.1312, allocations: 20 kB / 0.5003 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.1314, allocations: 103.9 kB / 0.5004 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.1316, allocations: 95.66 kB / 0.5005 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.1317, allocations: 91.41 kB / 0.5005 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005084/0.1322, allocations: 386.3 kB / 0.5009 GB, free: 12.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1322, allocations: 0 / 0.5009 GB, free: 12.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1322, allocations: 0 / 0.5009 GB, free: 12.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.1322, allocations: 0 / 0.5009 GB, free: 12.24 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.001154/0.1334, allocations: 0.6204 MB / 0.5015 GB, free: 11.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1334, allocations: 12.03 kB / 0.5015 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.522e-05/0.1335, allocations: 36.7 kB / 0.5016 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005056/0.134, allocations: 288.8 kB / 0.5018 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.134, allocations: 4.375 kB / 0.5018 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.134, allocations: 16.11 kB / 0.5019 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.1343, allocations: 117.5 kB / 0.502 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1343, allocations: 4 kB / 0.502 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.1344, allocations: 0 / 0.502 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1344, allocations: 3.938 kB / 0.502 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.1345, allocations: 67.95 kB / 0.502 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000758/0.1353, allocations: 392.1 kB / 0.5024 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.1356, allocations: 126.8 kB / 0.5025 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.1358, allocations: 48.83 kB / 0.5026 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.1358, allocations: 4 kB / 0.5026 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002909/0.1361, allocations: 124.8 kB / 0.5027 GB, free: 10.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.1361, allocations: 4 kB / 0.5027 GB, free: 10.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005895/0.1367, allocations: 248 kB / 0.503 GB, free: 10.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.1367, allocations: 55.41 kB / 0.503 GB, free: 9.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006478/0.1374, allocations: 0.4898 MB / 0.5035 GB, free: 9.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.1374, allocations: 29.7 kB / 0.5035 GB, free: 9.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.1376, allocations: 164.4 kB / 0.5037 GB, free: 9.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.871e-05/0.1376, allocations: 47.62 kB / 0.5037 GB, free: 9.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.057e-05/0.1377, allocations: 41.7 kB / 0.5038 GB, free: 9.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.1379, allocations: 342.8 kB / 0.5041 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.138, allocations: 51.97 kB / 0.5041 GB, free: 8.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.1382, allocations: 167.1 kB / 0.5043 GB, free: 8.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.1385, allocations: 141.9 kB / 0.5044 GB, free: 8.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1385, allocations: 0 / 0.5044 GB, free: 8.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000395/0.1389, allocations: 201.4 kB / 0.5046 GB, free: 8.199 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1389, allocations: 11.94 kB / 0.5046 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.1389, allocations: 7.984 kB / 0.5046 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.1389, allocations: 4 kB / 0.5046 GB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1391, allocations: 23.92 kB / 0.5047 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1391, allocations: 4 kB / 0.5047 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.1392, allocations: 23.88 kB / 0.5047 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.1392, allocations: 11.94 kB / 0.5047 GB, free: 8.113 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.0001956/0.1394, allocations: 180.5 kB / 0.5049 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.83e-05/0.1395, allocations: 39.7 kB / 0.5049 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004761/0.1399, allocations: 215.2 kB / 0.5051 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.1399, allocations: 3.984 kB / 0.5051 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1399, allocations: 0 / 0.5051 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1399, allocations: 4 kB / 0.5051 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.1402, allocations: 225.1 kB / 0.5053 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1402, allocations: 0 / 0.5053 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.417e-05/0.1403, allocations: 15.92 kB / 0.5054 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1403, allocations: 7.938 kB / 0.5054 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.1403, allocations: 11.94 kB / 0.5054 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1403, allocations: 0 / 0.5054 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1403, allocations: 0 / 0.5054 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/0.1407, allocations: 236.9 kB / 0.5056 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.1408, allocations: 31.81 kB / 0.5056 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/0.1409, allocations: 11.92 kB / 0.5056 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.925e-05/0.1409, allocations: 4 kB / 0.5056 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.141, allocations: 19.97 kB / 0.5057 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.141, allocations: 7.984 kB / 0.5057 GB, free: 7.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004474/0.1415, allocations: 371.1 kB / 0.506 GB, free: 6.703 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1415, allocations: 0 / 0.506 GB, free: 6.703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003482/0.1418, allocations: 51.92 kB / 0.5061 GB, free: 6.652 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 (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.001797/0.1436, allocations: 467.1 kB / 0.5065 GB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003763/0.144, allocations: 127.8 kB / 0.5066 GB, free: 6.246 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.144, allocations: 4.312 kB / 0.5066 GB, free: 6.242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.1441, allocations: 67.91 kB / 0.5067 GB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.1446, allocations: 77.02 kB / 0.5068 GB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.1456, allocations: 0.535 MB / 0.5073 GB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.1458, allocations: 178.2 kB / 0.5075 GB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001649/0.146, allocations: 46.94 kB / 0.5075 GB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.066e-05/0.1461, allocations: 27.42 kB / 0.5075 GB, free: 5.273 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1461, allocations: 3.938 kB / 0.5076 GB, free: 5.27 MB / 382.1 MB Notification: Performance of Templates: time 0.01054/0.1566, allocations: 4.498 MB / 0.5119 GB, free: 0.8398 MB / 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: 4.86632870323956] Failed to read output from testmodel.py, exit status != 0: 0.3331269323825836 0.345333402 0.21021909600000002 Calling exit ...