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.001448/0.001448, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002202/0.00365, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001139/0.001139, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001736/0.002876, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.223/1.223, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1331/1.356, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.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.07573/0.07573, allocations: 8.613 MB / 252.6 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01224/0.08797, allocations: 3.118 MB / 255.7 MB, free: 3.586 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.513e-06/1.513e-06, allocations: 0 / 257 MB, free: 2.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.617e-05/3.768e-05, allocations: 5.266 kB / 257 MB, free: 2.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop): time 0.004245/0.004283, allocations: 2.045 MB / 259 MB, free: 244 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002907/0.007189, allocations: 1.332 MB / 260.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.007394, allocations: 7.938 kB / 260.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009076/0.008301, allocations: 295.1 kB / 260.6 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005319/0.008833, allocations: 290.8 kB / 260.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006125/0.009446, allocations: 231.3 kB / 261.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004227/0.009868, allocations: 355 kB / 261.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.01003, allocations: 34.52 kB / 261.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003549/0.01039, allocations: 273.5 kB / 261.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.01057, allocations: 139.7 kB / 261.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.01061, allocations: 20 kB / 262 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002656/0.01087, allocations: 103.8 kB / 262.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.01098, allocations: 79.72 kB / 262.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.736e-05/0.01106, allocations: 55.81 kB / 262.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.01144, allocations: 262.9 kB / 262.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.108e-05/0.01147, allocations: 0 / 262.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.01147, allocations: 0 / 262.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.01149, allocations: 0 / 262.5 MB, free: 12.79 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.0008271/0.01231, allocations: 0.6305 MB / 263.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.01235, allocations: 12.02 kB / 263.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.0124, allocations: 24.86 kB / 263.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.01272, allocations: 260.8 kB / 263.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.01275, allocations: 12.38 kB / 263.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.01277, allocations: 8.359 kB / 263.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.01291, allocations: 84.92 kB / 263.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.01292, allocations: 3.938 kB / 263.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.01293, allocations: 4 kB / 263.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.01294, allocations: 4 kB / 263.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.19e-05/0.01299, allocations: 27.92 kB / 263.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.01335, allocations: 233.8 kB / 263.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.01351, allocations: 133.1 kB / 263.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/0.01355, allocations: 32.77 kB / 263.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.01356, allocations: 0 / 263.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.01373, allocations: 90.17 kB / 264 MB, free: 11.13 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.01373, allocations: 4 kB / 264 MB, free: 11.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002088/0.01394, allocations: 121 kB / 264.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.01399, allocations: 51.41 kB / 264.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.01429, allocations: 361 kB / 264.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.01431, allocations: 33.69 kB / 264.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.01439, allocations: 125.3 kB / 264.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.01443, allocations: 43.67 kB / 264.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.01448, allocations: 41.69 kB / 264.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.01461, allocations: 354.7 kB / 265.1 MB, free: 9.965 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.019e-05/0.01464, allocations: 18.83 kB / 265.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.797e-05/0.01474, allocations: 131.1 kB / 265.3 MB, free: 9.777 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.01484, allocations: 98.33 kB / 265.3 MB, free: 9.656 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01484, allocations: 0 / 265.3 MB, free: 9.656 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001394/0.01498, allocations: 131.3 kB / 265.5 MB, free: 9.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.015, allocations: 4 kB / 265.5 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.01501, allocations: 0 / 265.5 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.01502, allocations: 4 kB / 265.5 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.458e-05/0.01511, allocations: 31.92 kB / 265.5 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-06/0.01511, allocations: 0 / 265.5 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.819e-05/0.01518, allocations: 27.98 kB / 265.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.01519, allocations: 4 kB / 265.5 MB, free: 9.449 MB / 266.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.0001181/0.01531, allocations: 131.2 kB / 265.7 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.01533, allocations: 28.03 kB / 265.7 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.01551, allocations: 128.1 kB / 265.8 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01552, allocations: 0 / 265.8 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.01552, allocations: 0 / 265.8 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.01553, allocations: 7.938 kB / 265.8 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.01569, allocations: 149.7 kB / 266 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.0157, allocations: 3.984 kB / 266 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.66e-05/0.01572, allocations: 15.94 kB / 266 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.01577, allocations: 27.77 kB / 266 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.01577, allocations: 0 / 266 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.01578, allocations: 15.98 kB / 266 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.01578, allocations: 0 / 266 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.01579, allocations: 0 / 266 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.01592, allocations: 134.6 kB / 266.2 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.01595, allocations: 7.984 kB / 266.2 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.567e-05/0.01598, allocations: 4 kB / 266.2 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.01601, allocations: 19.97 kB / 266.2 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.01603, allocations: 8 kB / 266.2 MB, free: 8.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001596/0.01619, allocations: 155.5 kB / 266.4 MB, free: 8.574 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01619, allocations: 0 / 266.4 MB, free: 8.574 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002155/0.01641, allocations: 59.92 kB / 266.4 MB, free: 8.516 MB / 266.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.001599/0.01801, allocations: 0.5803 MB / 267 MB, free: 8.121 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.01818, allocations: 87.55 kB / 267.1 MB, free: 8.035 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/0.0182, allocations: 4 kB / 267.1 MB, free: 8.031 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.043e-05/0.01826, allocations: 48.05 kB / 267.1 MB, free: 7.984 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.01854, allocations: 113.7 kB / 267.3 MB, free: 7.879 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007737/0.01931, allocations: 466.8 kB / 267.7 MB, free: 7.391 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.01948, allocations: 100.2 kB / 267.8 MB, free: 7.273 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.0196, allocations: 38.94 kB / 267.8 MB, free: 7.234 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.01973, allocations: 107.3 kB / 267.9 MB, free: 7.129 MB / 266.7 MB Notification: Performance of SimCode: time 1.903e-06/0.01974, allocations: 0 / 267.9 MB, free: 7.129 MB / 266.7 MB Notification: Performance of Templates: time 0.008481/0.02822, allocations: 4.724 MB / 272.7 MB, free: 2.465 MB / 266.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.025504474528134]