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.001516/0.001516, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.001579/0.001579, allocations: 169 kB / 24.05 MB, free: 452 kB / 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.991/0.991, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.03768/0.03768, allocations: 8.616 MB / 269.7 MB, free: 4.766 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.292e-06/1.292e-06, allocations: 0 / 342.1 MB, free: 8.121 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/1.969e-05, allocations: 9.062 kB / 342.1 MB, free: 8.113 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop): time 0.001965/0.001985, allocations: 1.995 MB / 344.1 MB, free: 6.102 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.003307, allocations: 1.294 MB / 345.4 MB, free: 4.801 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.159e-05/0.003399, allocations: 7.938 kB / 345.4 MB, free: 4.793 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005643/0.003963, allocations: 327 kB / 345.7 MB, free: 4.473 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.004281, allocations: 274.9 kB / 346 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.004606, allocations: 239.3 kB / 346.2 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.004848, allocations: 363 kB / 346.6 MB, free: 3.613 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.00495, allocations: 32.56 kB / 346.6 MB, free: 3.582 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.005105, allocations: 191.5 kB / 346.8 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.005233, allocations: 143.6 kB / 346.9 MB, free: 3.254 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.005259, allocations: 16 kB / 347 MB, free: 3.238 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.005389, allocations: 103.8 kB / 347.1 MB, free: 3.137 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.86e-05/0.005467, allocations: 95.67 kB / 347.1 MB, free: 3.043 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.573e-05/0.005523, allocations: 75.77 kB / 347.2 MB, free: 2.969 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.005756, allocations: 286.8 kB / 347.5 MB, free: 2.688 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.005758, allocations: 0 / 347.5 MB, free: 2.688 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.005758, allocations: 0 / 347.5 MB, free: 2.688 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.005763, allocations: 0 / 347.5 MB, free: 2.688 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.0005004/0.006264, allocations: 0.7125 MB / 348.2 MB, free: 1.926 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.006291, allocations: 8.031 kB / 348.2 MB, free: 1.918 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.00634, allocations: 44.7 kB / 348.3 MB, free: 1.875 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.006538, allocations: 283.6 kB / 348.5 MB, free: 1.566 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.006553, allocations: 8.375 kB / 348.6 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.006566, allocations: 8.375 kB / 348.6 MB, free: 1.551 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.006669, allocations: 84.53 kB / 348.6 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.006676, allocations: 3.938 kB / 348.6 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.006686, allocations: 4 kB / 348.6 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.00669, allocations: 4 kB / 348.7 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.07e-05/0.006731, allocations: 23.91 kB / 348.7 MB, free: 1.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.007032, allocations: 384 kB / 349.1 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.007138, allocations: 91.19 kB / 349.1 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.003e-05/0.007168, allocations: 35.67 kB / 349.2 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.007179, allocations: 4 kB / 349.2 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.293e-05/0.007272, allocations: 104.9 kB / 349.3 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.007273, allocations: 0 / 349.3 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002399/0.007513, allocations: 180.2 kB / 349.5 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.007534, allocations: 55.41 kB / 349.5 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.007724, allocations: 418.5 kB / 349.9 MB, free: 96 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.007738, allocations: 29.7 kB / 349.9 MB, free: 60 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.007874, allocations: 235 kB / 350.2 MB, free: 15.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.007917, allocations: 47.67 kB / 350.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.007971, allocations: 47.34 kB / 350.3 MB, free: 15.72 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.008136, allocations: 0.5273 MB / 350.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/0.008165, allocations: 15.98 kB / 350.8 MB, free: 15.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.008266, allocations: 158.9 kB / 351 MB, free: 14.96 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.008378, allocations: 117.8 kB / 351.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.00838, allocations: 0 / 351.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001777/0.008558, allocations: 153.2 kB / 351.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.008576, allocations: 11.98 kB / 351.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.008582, allocations: 0 / 351.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.008593, allocations: 4 kB / 351.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.605e-05/0.008669, allocations: 23.92 kB / 351.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.008675, allocations: 7.938 kB / 351.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.00874, allocations: 20.09 kB / 351.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.008749, allocations: 4 kB / 351.3 MB, free: 14.59 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.0001224/0.008871, allocations: 187.2 kB / 351.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.008908, allocations: 39.77 kB / 351.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.009117, allocations: 164.7 kB / 351.7 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.00912, allocations: 0 / 351.7 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.009121, allocations: 0 / 351.7 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.009128, allocations: 11.86 kB / 351.7 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.009296, allocations: 193 kB / 351.9 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.009301, allocations: 7.984 kB / 351.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/0.009331, allocations: 12 kB / 351.9 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.009334, allocations: 0 / 351.9 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.009344, allocations: 0 / 351.9 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.009345, allocations: 7.938 kB / 351.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009346, allocations: 0 / 351.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.009573, allocations: 210.8 kB / 352.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.009605, allocations: 31.78 kB / 352.2 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.009633, allocations: 8 kB / 352.2 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.179e-05/0.009685, allocations: 11.98 kB / 352.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.009722, allocations: 11.98 kB / 352.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.009739, allocations: 15.98 kB / 352.2 MB, free: 13.63 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001601/0.009899, allocations: 263 kB / 352.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009899, allocations: 0 / 352.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002074/0.01011, allocations: 63.88 kB / 352.5 MB, free: 13.31 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.0008018/0.01091, allocations: 415.6 kB / 352.9 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.01105, allocations: 87.59 kB / 353 MB, free: 12.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01105, allocations: 0 / 353 MB, free: 12.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.582e-05/0.01111, allocations: 47.59 kB / 353.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.0002791/0.01139, allocations: 102.9 kB / 353.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005515/0.01194, allocations: 455.2 kB / 353.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.131e-05/0.012, allocations: 104.2 kB / 353.7 MB, free: 12.22 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.359e-05/0.01207, allocations: 34.95 kB / 353.7 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.0122, allocations: 126.2 kB / 353.9 MB, free: 12.06 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.0122, allocations: 4 kB / 353.9 MB, free: 12.05 MB / 282.7 MB Notification: Performance of Templates: time 0.02025/0.03244, allocations: 4.763 MB / 358.6 MB, free: 7.355 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.9026280669495463]