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.001497/0.001497, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001636/0.001636, allocations: 155.8 kB / 23.01 MB, free: 4.602 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.48/1.48, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.06168/0.06168, allocations: 8.612 MB / 268.4 MB, free: 8.566 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.002106/0.002106, allocations: 67.91 kB / 396.1 MB, free: 7.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1208, allocations: 56.04 MB / 452.1 MB, free: 15.81 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop): time 0.003628/0.1244, allocations: 1.949 MB / 454.1 MB, free: 13.85 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.1268, allocations: 1.278 MB / 455.3 MB, free: 12.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.1269, allocations: 4 kB / 455.3 MB, free: 12.56 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009511/0.1279, allocations: 335.1 kB / 455.7 MB, free: 12.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006609/0.1285, allocations: 263.1 kB / 455.9 MB, free: 11.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006202/0.1292, allocations: 239.3 kB / 456.2 MB, free: 11.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004982/0.1297, allocations: 363.1 kB / 456.5 MB, free: 11.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1298, allocations: 24.58 kB / 456.5 MB, free: 11.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.13, allocations: 155.4 kB / 456.7 MB, free: 11.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.1302, allocations: 167.3 kB / 456.9 MB, free: 11.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.1303, allocations: 16 kB / 456.9 MB, free: 11.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.1305, allocations: 99.92 kB / 457 MB, free: 10.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.1306, allocations: 87.69 kB / 457.1 MB, free: 10.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.1307, allocations: 99.39 kB / 457.2 MB, free: 10.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004927/0.1312, allocations: 386.3 kB / 457.5 MB, free: 10.37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1312, allocations: 0 / 457.5 MB, free: 10.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1312, allocations: 0 / 457.5 MB, free: 10.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1312, allocations: 0 / 457.5 MB, free: 10.37 MB / 430.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.001098/0.1323, allocations: 0.6127 MB / 458.1 MB, free: 9.711 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1324, allocations: 12.03 kB / 458.2 MB, free: 9.699 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.617e-05/0.1325, allocations: 40.7 kB / 458.2 MB, free: 9.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.133, allocations: 288.7 kB / 458.5 MB, free: 9.352 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.133, allocations: 4.375 kB / 458.5 MB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.133, allocations: 16.12 kB / 458.5 MB, free: 9.332 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.1333, allocations: 105.6 kB / 458.6 MB, free: 9.223 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1333, allocations: 0 / 458.6 MB, free: 9.223 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1333, allocations: 0 / 458.6 MB, free: 9.223 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1333, allocations: 8 kB / 458.6 MB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.1335, allocations: 67.89 kB / 458.7 MB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006569/0.1342, allocations: 388.2 kB / 459.1 MB, free: 8.738 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.1345, allocations: 130.7 kB / 459.2 MB, free: 8.602 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.1346, allocations: 48.84 kB / 459.2 MB, free: 8.551 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.1346, allocations: 3.938 kB / 459.2 MB, free: 8.547 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002678/0.1349, allocations: 135.2 kB / 459.4 MB, free: 8.402 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.1349, allocations: 0 / 459.4 MB, free: 8.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006464/0.1356, allocations: 241.4 kB / 459.6 MB, free: 8.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.1356, allocations: 55.41 kB / 459.7 MB, free: 8.094 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006262/0.1362, allocations: 0.4898 MB / 460.1 MB, free: 7.598 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.1363, allocations: 33.7 kB / 460.2 MB, free: 7.559 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.1364, allocations: 172.4 kB / 460.3 MB, free: 7.383 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.1365, allocations: 35.73 kB / 460.4 MB, free: 7.348 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-05/0.1365, allocations: 37.7 kB / 460.4 MB, free: 7.305 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.1367, allocations: 354.8 kB / 460.8 MB, free: 6.949 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.1369, allocations: 43.98 kB / 460.8 MB, free: 6.906 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.1371, allocations: 175 kB / 461 MB, free: 6.695 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.1373, allocations: 137.9 kB / 461.1 MB, free: 6.539 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1373, allocations: 0 / 461.1 MB, free: 6.539 MB / 430.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003873/0.1377, allocations: 209.2 kB / 461.3 MB, free: 6.328 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1378, allocations: 7.938 kB / 461.3 MB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.1378, allocations: 4 kB / 461.3 MB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1378, allocations: 0 / 461.3 MB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.1379, allocations: 23.98 kB / 461.4 MB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.1379, allocations: 7.938 kB / 461.4 MB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.138, allocations: 19.89 kB / 461.4 MB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.138, allocations: 4.156 kB / 461.4 MB, free: 6.262 MB / 430.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.0001955/0.1382, allocations: 180.6 kB / 461.6 MB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/0.1383, allocations: 39.7 kB / 461.6 MB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000464/0.1388, allocations: 227.3 kB / 461.8 MB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1388, allocations: 4 kB / 461.8 MB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1388, allocations: 0 / 461.8 MB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1388, allocations: 0 / 461.8 MB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.1391, allocations: 233.1 kB / 462.1 MB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1391, allocations: 0 / 462.1 MB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.045e-05/0.1391, allocations: 16 kB / 462.1 MB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1391, allocations: 0 / 462.1 MB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.1391, allocations: 3.938 kB / 462.1 MB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.1391, allocations: 7.984 kB / 462.1 MB, free: 5.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1391, allocations: 0 / 462.1 MB, free: 5.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.1396, allocations: 240.7 kB / 462.3 MB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.23e-05/0.1396, allocations: 27.8 kB / 462.3 MB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/0.1397, allocations: 11.94 kB / 462.4 MB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.874e-05/0.1398, allocations: 7.984 kB / 462.4 MB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.1398, allocations: 11.98 kB / 462.4 MB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.1398, allocations: 19.92 kB / 462.4 MB, free: 5.188 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004307/0.1403, allocations: 363.1 kB / 462.7 MB, free: 4.836 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1403, allocations: 0 / 462.7 MB, free: 4.836 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003182/0.1406, allocations: 59.89 kB / 462.8 MB, free: 4.777 MB / 430.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.00167/0.1422, allocations: 463.8 kB / 463.3 MB, free: 4.504 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003582/0.1426, allocations: 128 kB / 463.4 MB, free: 4.379 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1426, allocations: 4.062 kB / 463.4 MB, free: 4.375 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.1428, allocations: 63.91 kB / 463.5 MB, free: 4.312 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.1432, allocations: 86.77 kB / 463.5 MB, free: 4.234 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008913/0.1441, allocations: 0.5427 MB / 464.1 MB, free: 3.668 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.1443, allocations: 174.1 kB / 464.2 MB, free: 3.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.1444, allocations: 47.2 kB / 464.3 MB, free: 3.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.243e-05/0.1445, allocations: 32.48 kB / 464.3 MB, free: 3.398 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1445, allocations: 4 kB / 464.3 MB, free: 3.395 MB / 430.1 MB Notification: Performance of Templates: time 0.009382/0.1539, allocations: 4.252 MB / 468.6 MB, free: 15.2 MB / 446.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 -s ida -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.632195500889793] Failed to read output from testmodel.py, exit status != 0: 0.16220975504256785 0.17774373200000002 0.043192957000000004 Calling exit ...