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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 112.5 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 198 kB / 20.08 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06188/0.06188, allocations: 11.34 MB / 314.7 MB, free: 0.8555 MB / 238.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002027/0.002027, allocations: 63.91 kB / 438.5 MB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2521, allocations: 54.83 MB / 493.3 MB, free: 24.13 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop): time 0.004321/0.2564, allocations: 1.972 MB / 495.3 MB, free: 22.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00254/0.2589, allocations: 1.208 MB / 496.5 MB, free: 21.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.2592, allocations: 1.312 kB / 496.5 MB, free: 21.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.2603, allocations: 319.7 kB / 496.8 MB, free: 21.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006667/0.2609, allocations: 220 kB / 497 MB, free: 21.74 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.2621, allocations: 296.6 kB / 497.3 MB, free: 21.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006488/0.2627, allocations: 330.3 kB / 497.7 MB, free: 21.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.2629, allocations: 27.03 kB / 497.7 MB, free: 21.44 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.2632, allocations: 142.8 kB / 497.8 MB, free: 21.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.2635, allocations: 165.9 kB / 498 MB, free: 21.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.686e-05/0.2636, allocations: 17.56 kB / 498 MB, free: 21.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.264, allocations: 103.1 kB / 498.1 MB, free: 21.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.2641, allocations: 86.25 kB / 498.2 MB, free: 21.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.2643, allocations: 125.8 kB / 498.3 MB, free: 21.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006607/0.2649, allocations: 366 kB / 498.7 MB, free: 21.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.2649, allocations: 4 kB / 498.7 MB, free: 21.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.2649, allocations: 0 / 498.7 MB, free: 21.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.265, allocations: 0 / 498.7 MB, free: 21.01 MB / 366.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.001382/0.2663, allocations: 0.6839 MB / 499.4 MB, free: 20.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.2664, allocations: 13.23 kB / 499.4 MB, free: 20.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.2665, allocations: 39.86 kB / 499.4 MB, free: 20.33 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.2671, allocations: 339.2 kB / 499.7 MB, free: 20.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.2671, allocations: 9.078 kB / 499.7 MB, free: 20.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.2671, allocations: 15.03 kB / 499.8 MB, free: 20 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003861/0.2675, allocations: 131.5 kB / 499.9 MB, free: 19.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.2675, allocations: 0 / 499.9 MB, free: 19.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.2676, allocations: 9.141 kB / 499.9 MB, free: 19.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.2676, allocations: 6.312 kB / 499.9 MB, free: 19.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.2678, allocations: 57.14 kB / 500 MB, free: 19.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.2688, allocations: 471.7 kB / 0.4887 GB, free: 19.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/0.2693, allocations: 127.1 kB / 0.4888 GB, free: 19.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.2694, allocations: 40.09 kB / 0.4889 GB, free: 19.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.065e-05/0.2695, allocations: 6.312 kB / 0.4889 GB, free: 19.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003165/0.2698, allocations: 120.9 kB / 0.489 GB, free: 19.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 3.927e-06/0.2698, allocations: 0 / 0.489 GB, free: 19.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007915/0.2706, allocations: 232.6 kB / 0.4892 GB, free: 19.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.2706, allocations: 113.8 kB / 0.4893 GB, free: 18.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006795/0.2713, allocations: 473 kB / 0.4898 GB, free: 18.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.2714, allocations: 31.98 kB / 0.4898 GB, free: 18.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.2715, allocations: 165.9 kB / 0.4899 GB, free: 18.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.2716, allocations: 41.62 kB / 0.49 GB, free: 18.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/0.2716, allocations: 45.61 kB / 0.49 GB, free: 18.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.852e-05/0.2717, allocations: 344.8 kB / 0.4904 GB, free: 18.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.2718, allocations: 41.58 kB / 0.4904 GB, free: 18.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.272, allocations: 131.7 kB / 0.4905 GB, free: 17.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.2723, allocations: 135.5 kB / 0.4906 GB, free: 17.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.2723, allocations: 5.219 kB / 0.4907 GB, free: 17.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004941/0.2728, allocations: 199.3 kB / 0.4908 GB, free: 17.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.2728, allocations: 6.094 kB / 0.4909 GB, free: 17.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2728, allocations: 2.25 kB / 0.4909 GB, free: 17.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.2728, allocations: 2.344 kB / 0.4909 GB, free: 17.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.273, allocations: 31.45 kB / 0.4909 GB, free: 17.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.273, allocations: 2.594 kB / 0.4909 GB, free: 17.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.2732, allocations: 19.81 kB / 0.4909 GB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.2732, allocations: 6.406 kB / 0.4909 GB, free: 17.71 MB / 366.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.0002095/0.2734, allocations: 177.8 kB / 0.4911 GB, free: 17.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/0.2735, allocations: 38.61 kB / 0.4911 GB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.704e-05/0.2736, allocations: 37.28 kB / 0.4912 GB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.2736, allocations: 1.062 kB / 0.4912 GB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2736, allocations: 5.688 kB / 0.4912 GB, free: 17.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.2736, allocations: 0 / 0.4912 GB, free: 17.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.274, allocations: 307.9 kB / 0.4915 GB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.274, allocations: 0 / 0.4915 GB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.274, allocations: 11.5 kB / 0.4915 GB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.274, allocations: 1.094 kB / 0.4915 GB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.2741, allocations: 6.109 kB / 0.4915 GB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2741, allocations: 0 / 0.4915 GB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2741, allocations: 1.062 kB / 0.4915 GB, free: 17.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005095/0.2746, allocations: 224.7 kB / 0.4917 GB, free: 17.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-05/0.2746, allocations: 117.3 kB / 0.4918 GB, free: 16.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.181e-05/0.2747, allocations: 6.312 kB / 0.4918 GB, free: 16.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.2748, allocations: 9.391 kB / 0.4918 GB, free: 16.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.2749, allocations: 13.05 kB / 0.4918 GB, free: 16.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.2749, allocations: 5.5 kB / 0.4918 GB, free: 16.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005098/0.2754, allocations: 349.8 kB / 0.4922 GB, free: 16.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2754, allocations: 0 / 0.4922 GB, free: 16.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005175/0.276, allocations: 53.98 kB / 0.4922 GB, free: 16.71 MB / 366.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,resetSIGNAL.combiTimeTable.nextTimeEventScaled,setSIGNAL.combiTimeTable.nextTimeEventScaled,setSIGNAL.combiTimeTable.nextTimeEvent,resetSIGNAL.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 9 * 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.002128/0.2781, allocations: 441.8 kB / 0.4926 GB, free: 16.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004886/0.2786, allocations: 126 kB / 0.4928 GB, free: 16.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.2786, allocations: 1.219 kB / 0.4928 GB, free: 16.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.2788, allocations: 51.36 kB / 0.4928 GB, free: 16.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000671/0.2794, allocations: 78.3 kB / 0.4929 GB, free: 16.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.2806, allocations: 0.55 MB / 0.4934 GB, free: 16.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.2808, allocations: 0.784 MB / 0.4942 GB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.52e-05/0.2809, allocations: 26.56 kB / 0.4942 GB, free: 15.25 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2809, allocations: 4 kB / 0.4942 GB, free: 15.25 MB / 366.1 MB Notification: Performance of Templates: time 0.00877/0.2896, allocations: 4.441 MB / 0.4986 GB, free: 12.92 MB / 366.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: 7.615983325988054] Failed to read output from testmodel.py, exit status != 0: 0.298147871857509 0.30732936399999994 0.040066196000000005 Calling exit ...