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.0009581/0.0009581, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009826/0.0009826, allocations: 169 kB / 23.27 MB, free: 1.223 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 1.008/1.008, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.0465/0.0465, allocations: 8.611 MB / 268.9 MB, free: 4.773 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.873e-06/1.873e-06, allocations: 0 / 341.3 MB, free: 8.117 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.524e-05, allocations: 2.312 kB / 341.3 MB, free: 8.113 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop): time 0.002372/0.002398, allocations: 1.998 MB / 343.3 MB, free: 6.102 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.003958, allocations: 1.301 MB / 344.6 MB, free: 4.793 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.004081, allocations: 3.938 kB / 344.6 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006692/0.00475, allocations: 335 kB / 344.9 MB, free: 4.461 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004041/0.005154, allocations: 274.9 kB / 345.2 MB, free: 4.191 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.005587, allocations: 231.3 kB / 345.4 MB, free: 3.965 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.005887, allocations: 359 kB / 345.8 MB, free: 3.613 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.941e-05/0.005987, allocations: 40.48 kB / 345.8 MB, free: 3.574 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.00615, allocations: 191.5 kB / 346 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.006275, allocations: 143.6 kB / 346.2 MB, free: 3.246 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.0063, allocations: 16 kB / 346.2 MB, free: 3.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.006451, allocations: 103.8 kB / 346.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.067e-05/0.006522, allocations: 95.67 kB / 346.4 MB, free: 3.035 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.379e-05/0.006576, allocations: 75.72 kB / 346.4 MB, free: 2.961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.00682, allocations: 282.8 kB / 346.7 MB, free: 2.684 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.006822, allocations: 0 / 346.7 MB, free: 2.684 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006822, allocations: 0 / 346.7 MB, free: 2.684 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.006826, allocations: 0 / 346.7 MB, free: 2.684 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.0004997/0.007325, allocations: 0.7125 MB / 347.4 MB, free: 1.922 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.00736, allocations: 16.02 kB / 347.4 MB, free: 1.906 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.00741, allocations: 40.7 kB / 347.5 MB, free: 1.867 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.007622, allocations: 287.6 kB / 347.8 MB, free: 1.555 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.00764, allocations: 8.359 kB / 347.8 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.007654, allocations: 12.38 kB / 347.8 MB, free: 1.535 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.007776, allocations: 74.19 kB / 347.9 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.007784, allocations: 3.938 kB / 347.9 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.007795, allocations: 4 kB / 347.9 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.007801, allocations: 8 kB / 347.9 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.259e-05/0.007844, allocations: 27.91 kB / 347.9 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.008173, allocations: 383.9 kB / 348.3 MB, free: 1.012 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.008287, allocations: 91.25 kB / 348.4 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.008318, allocations: 31.61 kB / 348.4 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.008333, allocations: 0 / 348.4 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001111/0.008444, allocations: 100.9 kB / 348.5 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 9.11e-07/0.008445, allocations: 4 kB / 348.5 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006941/0.009139, allocations: 181.3 kB / 348.7 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.009173, allocations: 55.41 kB / 348.7 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.009428, allocations: 414.5 kB / 349.1 MB, free: 88 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.00945, allocations: 33.7 kB / 349.2 MB, free: 48 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.00962, allocations: 235 kB / 349.4 MB, free: 15.81 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.076e-05/0.00967, allocations: 35.69 kB / 349.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.927e-05/0.00975, allocations: 51.33 kB / 349.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.009955, allocations: 0.5273 MB / 350 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.336e-05/0.01001, allocations: 15.98 kB / 350 MB, free: 15.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.01013, allocations: 160.5 kB / 350.2 MB, free: 14.95 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.01027, allocations: 117.7 kB / 350.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.01027, allocations: 0 / 350.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002408/0.01051, allocations: 161.5 kB / 350.5 MB, free: 14.64 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.01053, allocations: 8 kB / 350.5 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.01055, allocations: 0 / 350.5 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.01057, allocations: 7.984 kB / 350.5 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.01068, allocations: 24 kB / 350.5 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.01069, allocations: 11.86 kB / 350.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9e-05/0.01078, allocations: 11.94 kB / 350.5 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.01079, allocations: 8 kB / 350.5 MB, free: 14.57 MB / 282.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 0.0001337/0.01093, allocations: 171.2 kB / 350.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.01097, allocations: 47.8 kB / 350.7 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.01121, allocations: 163.5 kB / 350.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.01122, allocations: 0 / 350.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.01122, allocations: 0 / 350.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.01123, allocations: 11.92 kB / 350.9 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.01141, allocations: 189 kB / 351.1 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01141, allocations: 4 kB / 351.1 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.251e-05/0.01144, allocations: 11.98 kB / 351.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.01145, allocations: 0 / 351.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.01146, allocations: 11.94 kB / 351.1 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01146, allocations: 0 / 351.1 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01146, allocations: 4 kB / 351.1 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.01166, allocations: 216.1 kB / 351.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.0117, allocations: 35.8 kB / 351.4 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.01173, allocations: 0 / 351.4 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.831e-05/0.01179, allocations: 11.98 kB / 351.4 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.01182, allocations: 11.98 kB / 351.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.01184, allocations: 12.06 kB / 351.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001621/0.012, allocations: 271 kB / 351.7 MB, free: 13.36 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.012, allocations: 0 / 351.7 MB, free: 13.36 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.01224, allocations: 63.88 kB / 351.7 MB, free: 13.3 MB / 282.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.0008529/0.01309, allocations: 410.3 kB / 352.1 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.01327, allocations: 89.83 kB / 352.2 MB, free: 12.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.01327, allocations: 0 / 352.2 MB, free: 12.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.404e-05/0.01333, allocations: 47.59 kB / 352.3 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.01366, allocations: 97.47 kB / 352.4 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006792/0.01434, allocations: 450.9 kB / 352.8 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.525e-05/0.0144, allocations: 104.2 kB / 352.9 MB, free: 12.22 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.01452, allocations: 43.25 kB / 353 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.01465, allocations: 130.2 kB / 353.1 MB, free: 12.05 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01465, allocations: 0 / 353.1 MB, free: 12.05 MB / 282.7 MB Notification: Performance of Templates: time 0.007699/0.02235, allocations: 4.695 MB / 357.8 MB, free: 7.438 MB / 282.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 sys.exit(0), Time elapsed: 2.942997369915247]