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.0008914/0.0008914, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.0009484/0.0009484, allocations: 169 kB / 23.02 MB, free: 1.551 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.9693/0.9693, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.038/0.038, allocations: 8.614 MB / 268.5 MB, free: 4.934 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.443e-06/1.443e-06, allocations: 0 / 340.9 MB, free: 8.418 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.224e-05, allocations: 2.312 kB / 340.9 MB, free: 8.414 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop): time 0.002054/0.002076, allocations: 2.022 MB / 342.9 MB, free: 6.375 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.003394, allocations: 1.317 MB / 344.2 MB, free: 5.051 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.003495, allocations: 0 / 344.2 MB, free: 5.051 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006106/0.004106, allocations: 327 kB / 344.5 MB, free: 4.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003632/0.004469, allocations: 270.9 kB / 344.8 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.004831, allocations: 235.3 kB / 345 MB, free: 4.234 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.005098, allocations: 374.9 kB / 345.4 MB, free: 3.867 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.005205, allocations: 32.56 kB / 345.4 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.005365, allocations: 187.5 kB / 345.6 MB, free: 3.652 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.005493, allocations: 143.6 kB / 345.7 MB, free: 3.512 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.00552, allocations: 20 kB / 345.8 MB, free: 3.492 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.005668, allocations: 103.8 kB / 345.9 MB, free: 3.391 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.696e-05/0.005745, allocations: 95.67 kB / 346 MB, free: 3.297 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.4e-05/0.005809, allocations: 75.7 kB / 346 MB, free: 3.223 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.006086, allocations: 282.9 kB / 346.3 MB, free: 2.945 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.006089, allocations: 0 / 346.3 MB, free: 2.945 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.00609, allocations: 3.984 kB / 346.3 MB, free: 2.941 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.006096, allocations: 4 kB / 346.3 MB, free: 2.938 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.0006043/0.0067, allocations: 0.7087 MB / 347 MB, free: 2.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.006734, allocations: 8.031 kB / 347 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.401e-05/0.006798, allocations: 52.62 kB / 347.1 MB, free: 2.121 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.007065, allocations: 283.6 kB / 347.4 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.007085, allocations: 16.3 kB / 347.4 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.007102, allocations: 4.375 kB / 347.4 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.007242, allocations: 90.17 kB / 347.5 MB, free: 1.699 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.007252, allocations: 7.938 kB / 347.5 MB, free: 1.691 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.007265, allocations: 4 kB / 347.5 MB, free: 1.688 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.007272, allocations: 0 / 347.5 MB, free: 1.688 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.461e-05/0.007336, allocations: 34.94 kB / 347.5 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.00775, allocations: 443.3 kB / 347.9 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.007896, allocations: 91.33 kB / 348 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.344e-05/0.007939, allocations: 35.61 kB / 348.1 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.007954, allocations: 0 / 348.1 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/0.008077, allocations: 115.8 kB / 348.2 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.002e-06/0.008078, allocations: 0 / 348.2 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002701/0.008348, allocations: 185.4 kB / 348.4 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.008371, allocations: 59.34 kB / 348.4 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.008602, allocations: 434.7 kB / 348.8 MB, free: 228 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.008613, allocations: 29.7 kB / 348.9 MB, free: 192 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.481e-05/0.008708, allocations: 219.2 kB / 349.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.008743, allocations: 47.59 kB / 349.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.008793, allocations: 51.3 kB / 349.2 MB, free: 15.86 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.008927, allocations: 0.5313 MB / 349.7 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.357e-05/0.008971, allocations: 19.98 kB / 349.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.64e-05/0.009067, allocations: 156.6 kB / 349.9 MB, free: 15.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.009179, allocations: 121.7 kB / 350 MB, free: 14.95 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.009183, allocations: 4 kB / 350 MB, free: 14.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001859/0.009369, allocations: 165.3 kB / 350.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.009381, allocations: 4 kB / 350.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.009386, allocations: 4 kB / 350.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.009402, allocations: 4 kB / 350.2 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.635e-05/0.009489, allocations: 31.86 kB / 350.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.009495, allocations: 4 kB / 350.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.048e-05/0.009556, allocations: 15.92 kB / 350.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.009566, allocations: 8 kB / 350.2 MB, free: 14.7 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.0001006/0.009666, allocations: 179.3 kB / 350.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.009702, allocations: 43.77 kB / 350.5 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.009946, allocations: 172.8 kB / 350.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.00995, allocations: 4 kB / 350.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.009954, allocations: 11.88 kB / 350.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.009958, allocations: 0 / 350.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.01014, allocations: 240.4 kB / 350.9 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.01014, allocations: 4 kB / 350.9 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.059e-05/0.01017, allocations: 11.98 kB / 350.9 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01018, allocations: 4 kB / 350.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.01019, allocations: 4 kB / 350.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01019, allocations: 0 / 350.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01019, allocations: 0 / 350.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.01041, allocations: 220.2 kB / 351.1 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.01045, allocations: 35.73 kB / 351.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.01048, allocations: 8 kB / 351.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.434e-05/0.01052, allocations: 7.984 kB / 351.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.01056, allocations: 15.92 kB / 351.2 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.01058, allocations: 11.98 kB / 351.2 MB, free: 13.67 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001875/0.01077, allocations: 291.1 kB / 351.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01077, allocations: 0 / 351.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002108/0.01098, allocations: 63.88 kB / 351.5 MB, free: 13.33 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.0009458/0.01192, allocations: 418.9 kB / 351.9 MB, free: 13.06 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.0121, allocations: 95.42 kB / 352 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.0121, allocations: 0 / 352 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.01224, allocations: 58.25 kB / 352.1 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.0002762/0.01251, allocations: 86.84 kB / 352.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000537/0.01305, allocations: 458.9 kB / 352.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.619e-05/0.01311, allocations: 108.5 kB / 352.7 MB, free: 12.22 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.373e-05/0.01318, allocations: 34.95 kB / 352.8 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.403e-05/0.01323, allocations: 32.48 kB / 352.8 MB, free: 12.15 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01323, allocations: 0 / 352.8 MB, free: 12.15 MB / 282.7 MB Notification: Performance of Templates: time 0.006393/0.01963, allocations: 4.308 MB / 357.1 MB, free: 7.906 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: 3.000075408257544]